Class: Stall::ProductCategoriesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Stall::ProductCategoriesController
- Includes:
- ProductsBreadcrumbs, ProductsSearch
- Defined in:
- app/controllers/stall/product_categories_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
6 7 8 9 10 11 |
# File 'app/controllers/stall/product_categories_controller.rb', line 6 def show @product_category = ProductCategory.friendly.find(params[:id]) search_products_among(@product_category.all_child_products) (@product_category) end |