Class: Workarea::Admin::TimelineController
- Inherits:
-
ApplicationController
- Object
- Workarea::ApplicationController
- ApplicationController
- Workarea::Admin::TimelineController
- Defined in:
- app/controllers/workarea/admin/timeline_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
#current_user, #find_sort, #wrap_in_view_model, wrap_in_view_model
Methods included from Publishing
#allow_publishing!, #allow_publishing?, #set_publishing_options
Methods included from Visiting
Instance Method Details
#show ⇒ Object
4 5 6 7 |
# File 'app/controllers/workarea/admin/timeline_controller.rb', line 4 def show model = GlobalID::Locator.locate(params[:id]) @timeline = TimelineViewModel.new(model) end |