Class: Workflow::ProductsController

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

Instance Method Summary collapse

Instance Method Details

#showObject



4
5
6
7
8
# File 'app/controllers/workflow/products_controller.rb', line 4

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