Class: Ishapi::ProductsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Ishapi::ProductsController
- Defined in:
- app/controllers/ishapi/products_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
#exception, #home, #long_term_token, #vote
Instance Method Details
#show ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/controllers/ishapi/products_controller.rb', line 8 def show @product = Wco::Product.find params[:id] puts! @product.prices.to_a, 'to_a' :show, @product end |