diff options
author | Andrew8xx8 <avk@8xx8.ru> | 2013-02-18 13:10:09 +0400 |
---|---|---|
committer | Andrew8xx8 <avk@8xx8.ru> | 2013-02-18 14:43:50 +0400 |
commit | 0b512af803d007852bcba40c75203e0e45dda177 (patch) | |
tree | d85179b7bf98fb9de7cd7c6d7d7557dfe8db0939 /app/controllers | |
parent | 29f70acc987abe0b188ef187c70f179088d79589 (diff) | |
download | gitlab-ce-0b512af803d007852bcba40c75203e0e45dda177.tar.gz |
Milestone uses StateMachine now
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/milestones_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/milestones_controller.rb b/app/controllers/milestones_controller.rb index a0c824e8abb..57f1e9e6bb3 100644 --- a/app/controllers/milestones_controller.rb +++ b/app/controllers/milestones_controller.rb @@ -12,7 +12,7 @@ class MilestonesController < ProjectResourceController def index @milestones = case params[:f] - when 'all'; @project.milestones.order("closed, due_date DESC") + when 'all'; @project.milestones.order("state, due_date DESC") when 'closed'; @project.milestones.closed.order("due_date DESC") else @project.milestones.active.order("due_date ASC") end |