cleanup syntax of Relation#all at IssueStatusesController#index

git-svn-id: http://svn.redmine.org/redmine/trunk@12600 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-01-10 10:30:10 +00:00
parent d02bcbcee5
commit fe6ef59e37
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class IssueStatusesController < ApplicationController
render :action => "index", :layout => false if request.xhr?
}
format.api {
@issue_statuses = IssueStatus.all(:order => 'position')
@issue_statuses = IssueStatus.order('position').all
}
end
end