Class: Workarea::Api::Storefront::AssetsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/workarea/api/storefront/assets_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#assert_current_metrics_id, #cache_page, #skip_session

Methods included from Authentication

#authentication?, #current_user, find_user

Instance Method Details

#showObject



5
6
7
# File 'app/controllers/workarea/api/storefront/assets_controller.rb', line 5

def show
  @asset = Content::Asset.find(params[:id])
end