From fe6ef59e37671aa2d2d0fcb5df0df89ff45db835 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 10 Jan 2014 10:30:10 +0000 Subject: [PATCH] cleanup syntax of Relation#all at IssueStatusesController#index git-svn-id: http://svn.redmine.org/redmine/trunk@12600 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/issue_statuses_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/issue_statuses_controller.rb b/app/controllers/issue_statuses_controller.rb index 298710563..2ef02821e 100644 --- a/app/controllers/issue_statuses_controller.rb +++ b/app/controllers/issue_statuses_controller.rb @@ -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