Class: Stall::ManufacturersController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Stall::ManufacturersController
- Includes:
- ProductsSearch
- Defined in:
- app/controllers/stall/manufacturers_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/stall/manufacturers_controller.rb', line 5 def show @manufacturer = Manufacturer.friendly.find(params[:id]) search_products_among(@manufacturer.products) (@manufacturer) end |