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:
parent
d02bcbcee5
commit
fe6ef59e37
|
@ -29,7 +29,7 @@ class IssueStatusesController < ApplicationController
|
||||||
render :action => "index", :layout => false if request.xhr?
|
render :action => "index", :layout => false if request.xhr?
|
||||||
}
|
}
|
||||||
format.api {
|
format.api {
|
||||||
@issue_statuses = IssueStatus.all(:order => 'position')
|
@issue_statuses = IssueStatus.order('position').all
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue