diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-20 09:57:24 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-20 09:57:24 +0000 |
commit | 08c9a5e3ef1a8abff1c950fb0862363970a95164 (patch) | |
tree | 56cb59cd7ff17615d7a111c29fb3cbe4ceabff4b /app/controllers/issue_statuses_controller.rb | |
parent | af89a8b201518176bc737e148494cbf413ddb446 (diff) | |
download | redmine-08c9a5e3ef1a8abff1c950fb0862363970a95164.tar.gz redmine-08c9a5e3ef1a8abff1c950fb0862363970a95164.zip |
Remove pagination on trackers, roles and issue statuses (#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15273 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issue_statuses_controller.rb')
-rw-r--r-- | app/controllers/issue_statuses_controller.rb | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/app/controllers/issue_statuses_controller.rb b/app/controllers/issue_statuses_controller.rb index ba463e25d..6d574fe87 100644 --- a/app/controllers/issue_statuses_controller.rb +++ b/app/controllers/issue_statuses_controller.rb @@ -23,14 +23,10 @@ class IssueStatusesController < ApplicationController accept_api_auth :index def index + @issue_statuses = IssueStatus.sorted.to_a respond_to do |format| - format.html { - @issue_status_pages, @issue_statuses = paginate IssueStatus.sorted, :per_page => 25 - render :action => "index", :layout => false if request.xhr? - } - format.api { - @issue_statuses = IssueStatus.order('position').to_a - } + format.html { render :layout => false if request.xhr? } + format.api end end |