The logical center of your application, which provides interface between model and view is Controller. It is used to handle people-friendly URLs . Sessions are also managed by Controllers, providing users the facility of an ongoing interaction with our applications.
Process of creating controller:
$ rails generate controller Name
After looking at Name_controller it will give the following-
class NameController < ApplicationController
end
0 Comment(s)