From 6ed20316b09376cd734ef5121ddd5b9f81fc687b Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 19 Nov 2020 13:30:39 +0000 Subject: [PATCH] remove spaces inside {} of RolesController git-svn-id: http://svn.redmine.org/redmine/trunk@20434 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/roles_controller.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controllers/roles_controller.rb b/app/controllers/roles_controller.rb index 750046ea0..27861d35d 100644 --- a/app/controllers/roles_controller.rb +++ b/app/controllers/roles_controller.rb @@ -83,12 +83,12 @@ class RolesController < ApplicationController flash[:notice] = l(:notice_successful_update) redirect_to roles_path(:page => params[:page]) end - format.js { head 200 } + format.js {head 200} end else respond_to do |format| - format.html { render :action => 'edit' } - format.js { head 422 } + format.html {render :action => 'edit'} + format.js {head 422} end end end @@ -108,7 +108,7 @@ class RolesController < ApplicationController scope = scope.where(:id => params[:ids]) end @roles = scope.to_a - @permissions = Redmine::AccessControl.permissions.select { |p| !p.public? } + @permissions = Redmine::AccessControl.permissions.select {|p| !p.public?} end def update_permissions -- 2.39.5