Add critical status to issues

This commit is contained in:
gitlabhq 2011-10-25 07:34:02 +03:00
parent afe98ae74a
commit 9afee5ad52
8 changed files with 84 additions and 10 deletions

View file

@ -12,7 +12,7 @@ class IssuesController < ApplicationController
def index
@issues = case params[:f].to_i
when 1 then @project.issues.all
when 1 then @project.issues
when 2 then @project.issues.closed
when 3 then @project.issues.opened.assigned(current_user)
else @project.issues.opened