Sha256: 3e11c6b4d752d4269b0ad1ece5aebed200801f8db4db647032a923c807ce0c2f

Contents?: true

Size: 252 Bytes

Versions: 12

Compression:

Stored size: 252 Bytes

Contents

class Workflow::UserController < ApplicationController
  def index
    @assigned_tasks = Task.where(user_id: current_user.id, state: 'assigned')
    @completed_tasks = Task.complete.where(user_id: current_user.id)
    @sidenav_links_count = 1
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
voluntary-0.5.1 app/controllers/workflow/user_controller.rb
voluntary-0.5.0 app/controllers/workflow/user_controller.rb
voluntary-0.4.0 app/controllers/workflow/user_controller.rb
voluntary-0.3.0 app/controllers/workflow/user_controller.rb
voluntary-0.2.4 app/controllers/workflow/user_controller.rb
voluntary-0.2.3 app/controllers/workflow/user_controller.rb
voluntary-0.2.2 app/controllers/workflow/user_controller.rb
voluntary-0.2.1 app/controllers/workflow/user_controller.rb
voluntary-0.2.0 app/controllers/workflow/user_controller.rb
voluntary-0.1.0 app/controllers/workflow/user_controller.rb
voluntary-0.1.0.rc4 app/controllers/workflow/user_controller.rb
voluntary-0.1.0.rc3 app/controllers/workflow/user_controller.rb