Class: Cms::HomeController
- Inherits:
-
BaseController
- Object
- ApplicationController
- ApplicationController
- BaseController
- Cms::HomeController
- Defined in:
- app/controllers/cms/home_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
Only occurs if somebody goes to /cms, they get redirected to / However, based on whether they are an admin or not, it will determine where they get sent.
Methods inherited from BaseController
Methods inherited from ApplicationController
Instance Method Details
#index ⇒ Object
Only occurs if somebody goes to /cms, they get redirected to / However, based on whether they are an admin or not, it will determine where they get sent.
6 7 8 |
# File 'app/controllers/cms/home_controller.rb', line 6 def index redirect_to '/' end |