Sha256: 610606ffefce24ca3c763dcf9b83a4497cfc24501ee6809bf95bcf86468aa65f

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

class Workflow::ProductsController < ApplicationController
  before_action :authenticate_user!
  
  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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
voluntary-0.7.1 app/controllers/workflow/products_controller.rb
voluntary-0.7.0 app/controllers/workflow/products_controller.rb