Class: Workarea::Api::Storefront::SystemContentController
- Inherits:
-
ApplicationController
- Object
- Workarea::ApplicationController
- ApplicationController
- Workarea::Api::Storefront::SystemContentController
- Defined in:
- app/controllers/workarea/api/storefront/system_content_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Methods included from UserActivity
#assert_current_user_activity_id, #current_user_activity_id, #user_activity
Methods included from Authentication
#authentication?, #current_user
Instance Method Details
#show ⇒ Object
7 8 9 10 11 12 |
# File 'app/controllers/workarea/api/storefront/system_content_controller.rb', line 7 def show @content = Workarea::Storefront::ContentViewModel.new( Content.for(params['id']), ) end |