From d5750f0bd49bc82d8ba18daebb104cc45a400f90 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 10 Jul 2012 11:30:48 +0200 Subject: [PATCH] Remove unused constant in roles_controller.rb --- .../src/main/webapp/WEB-INF/app/controllers/roles_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb index f75f0009086..fd165668a9d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb @@ -21,7 +21,6 @@ class RolesController < ApplicationController helper RolesHelper SECTION=Navigation::SECTION_CONFIGURATION - PER_PAGE = 2 before_filter :admin_required verify :method => :post, :only => [:set_users, :set_groups, :set_default_project_groups, :set_default_project_users], :redirect_to => {:action => 'global'} @@ -52,6 +51,7 @@ class RolesController < ApplicationController @pagination = Api::Pagination.new(params) @projects=Project.find(:all, + :include => ['user_roles','group_roles'], :joins => joins, :conditions => [conditions_sql, conditions_values], :order => 'projects.name', -- 2.39.5