Class: Workflow::ProductsController

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

Instance Method Summary collapse

Instance Method Details

#showObject



2
3
4
5
6
# File 'app/controllers/workflow/products_controller.rb', line 2

def show
  @stories = Product.stories(params[:id], current_user)
  @areas = Area.find_by_product_id(params[:id])
  @product = Product.find(params[:id]) unless params[:id] == 'no-name'
end