Sha256: 783f61fe626679baf6aac3710dedfe8c92efa872e1798ee25d16ee79d96cd924
Contents?: true
Size: 413 Bytes
Versions: 13
Compression:
Stored size: 413 Bytes
Contents
class Workflow::User::ProjectsController < ApplicationController def show @project = Project.friendly.find(params[:id]) product = if @project.product @project.product else value = ::Product.new value.id = 'no-name' value end @stories = product.stories_for_user(current_user). where(project_id: @project.try(:id)).paginate(page: params[:page]) end end
Version data entries
13 entries across 13 versions & 1 rubygems