Class: Refinery::Products::ProductsController
- Inherits:
-
StoresApplicationController
- Object
- ApplicationController
- StoresApplicationController
- Refinery::Products::ProductsController
- Defined in:
- app/controllers/refinery/products/products_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
9 10 11 12 13 14 15 |
# File 'app/controllers/refinery/products/products_controller.rb', line 9 def show @product = Product.find(params[:id]) # you can use meta fields from your model instead (e.g. browser_title) # by swapping @page for @product in the line below: present(@page) end |