diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-30 22:15:34 +0300 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-08-30 22:15:34 +0300 |
commit | b9ff0c79b49c24dfcfc8e3188c76a861b2035770 (patch) | |
tree | 6bc0d8286494e358b85e7013251578f6742d872b /app/controllers/milestones_controller.rb | |
parent | 4a6596af274c01036aaf9f49a5b38cd678716873 (diff) | |
download | gitlab-ce-b9ff0c79b49c24dfcfc8e3188c76a861b2035770.tar.gz |
Changed filters to readable one. Styled some stuff
Diffstat (limited to 'app/controllers/milestones_controller.rb')
-rw-r--r-- | app/controllers/milestones_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/milestones_controller.rb b/app/controllers/milestones_controller.rb index 7acb3781fbb..10f089f138b 100644 --- a/app/controllers/milestones_controller.rb +++ b/app/controllers/milestones_controller.rb @@ -17,8 +17,8 @@ class MilestonesController < ApplicationController respond_to :html def index - @milestones = case params[:f].to_i - when 1; @project.milestones + @milestones = case params[:f] + when 'all'; @project.milestones else @project.milestones.active end |