Class: Cms::HomeController

Inherits:
BaseController show all
Defined in:
app/controllers/cms/home_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

allow_guests_to

Methods inherited from ApplicationController

#no_browser_caching

Instance Method Details

#indexObject

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