Class: Workflow::StoriesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Workflow::StoriesController
- Defined in:
- app/controllers/workflow/stories_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
2 3 4 5 |
# File 'app/controllers/workflow/stories_controller.rb', line 2 def index @product = Product.friendly.find(params[:product_id]) @stories = @product.stories end |