Sha256: 594ab6bae4b767861e48b715438ab12ae936be9d3fcd8df12bcbb791cad485ab

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

class Workflow::User::Product::AreasController < ApplicationController
  def show
    @area = Area.find(params[:id])
    @areas = @area.children_for_product_id(params[:product_id])
    @projects = @area.projects.for_product_id(params[:product_id])
    @product = Product.find(params[:product_id]) unless params[:product_id] == 'no-name'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
voluntary-0.1.0 app/controllers/workflow/user/product/areas_controller.rb
voluntary-0.1.0.rc4 app/controllers/workflow/user/product/areas_controller.rb