Class: Workflow::StoriesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/workflow/stories_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



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