Sha256: bb12b9c0ca4985055dc7c00a0f32d03736bc204d789cf890abcdc32c7942d2d0

Contents?: true

Size: 223 Bytes

Versions: 5

Compression:

Stored size: 223 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)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voluntary-0.1.0.rc2 app/controllers/workflow/user_controller.rb
voluntary-0.1.0.rc1 app/controllers/workflow/user_controller.rb
voluntary-0.0.3 app/controllers/workflow/user_controller.rb
voluntary-0.0.2 app/controllers/workflow/user_controller.rb
voluntary-0.0.1 app/controllers/workflow/user_controller.rb