Class: Cms9::WelcomeController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Cms9::WelcomeController
- Defined in:
- app/controllers/cms9/welcome_controller.rb
Overview
welcome controller
Instance Method Summary collapse
Methods inherited from ApplicationController
#authorize, #current_user, #user_logout
Instance Method Details
#index ⇒ Object
4 5 6 7 |
# File 'app/controllers/cms9/welcome_controller.rb', line 4 def index limit = params[:limit] ? params[:limit] : 10 @events = Cms9Events.new.timeline_events(limit) end |