summaryrefslogtreecommitdiffstats
path: root/app/controllers/roles_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-03-20 09:57:24 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-03-20 09:57:24 +0000
commit08c9a5e3ef1a8abff1c950fb0862363970a95164 (patch)
tree56cb59cd7ff17615d7a111c29fb3cbe4ceabff4b /app/controllers/roles_controller.rb
parentaf89a8b201518176bc737e148494cbf413ddb446 (diff)
downloadredmine-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/roles_controller.rb')
-rw-r--r--app/controllers/roles_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rb
index f3fa8f102..2732a89a1 100644
--- a/app/controllers/roles_controller.rb
+++ b/app/controllers/roles_controller.rb
@@ -28,8 +28,8 @@ class RolesController < ApplicationController
def index
respond_to do |format|
format.html {
- @role_pages, @roles = paginate Role.sorted, :per_page => 25
- render :action => "index", :layout => false if request.xhr?
+ @roles = Role.sorted.to_a
+ render :layout => false if request.xhr?
}
format.api {
@roles = Role.givable.to_a