Class: Gemgento::ProductsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Gemgento::ProductsController
- Defined in:
- app/controllers/gemgento/products_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
6 7 8 9 |
# File 'app/controllers/gemgento/products_controller.rb', line 6 def show @product = Gemgento::Product.find(params[:id]) @current_category = @product.current_category(session[:category]) end |