diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-02 19:09:42 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-02 19:09:42 +0000 |
commit | 5b21efd4a432263af5521a60d99785effad7f83b (patch) | |
tree | 41c3ecd1ce15b35eb501b50b4c9972fc878b4255 /app/controllers/reports_controller.rb | |
parent | 1951c6a3fdc00853053c638b728c358931f8c017 (diff) | |
download | redmine-5b21efd4a432263af5521a60d99785effad7f83b.tar.gz redmine-5b21efd4a432263af5521a60d99785effad7f83b.zip |
Replaces find(:all) calls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10914 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/reports_controller.rb')
-rw-r--r-- | app/controllers/reports_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index c9e9a39fa..7b8e37aee 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -90,6 +90,6 @@ class ReportsController < ApplicationController private def find_issue_statuses - @statuses = IssueStatus.find(:all, :order => 'position') + @statuses = IssueStatus.sorted.all end end |