mirror of
https://github.com/redmine/redmine.git
synced 2026-01-08 16:42:54 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user