Method: Auth::Concerns::Shopping::ProductControllerConcern#show
- Defined in:
- app/controllers/auth/concerns/shopping/product_controller_concern.rb
#show ⇒ Object
42 43 44 45 46 |
# File 'app/controllers/auth/concerns/shopping/product_controller_concern.rb', line 42 def show instantiate_shopping_classes @auth_shopping_product = @auth_shopping_product_class.find(params[:id]) ## will render show.json.erb if its a json request. end |