From 745e4152f8ec7083e6e4374d72d3fdcb6a6f3c92 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 17 Nov 2020 12:41:18 +0000 Subject: [PATCH] remove spaces inside {} of ApplicationController git-svn-id: http://svn.redmine.org/redmine/trunk@20409 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/application_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 219165627..7750120d7 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -276,8 +276,8 @@ class ApplicationController < ActionController::Base head(:forbidden) end end - format.js { head :unauthorized, 'WWW-Authenticate' => 'Basic realm="Redmine API"' } - format.any { head :unauthorized } + format.js {head :unauthorized, 'WWW-Authenticate' => 'Basic realm="Redmine API"'} + format.any {head :unauthorized} end return false end @@ -565,7 +565,7 @@ class ApplicationController < ActionController::Base format.html do render :template => 'common/error', :layout => use_layout, :status => @status end - format.any { head @status } + format.any {head @status} end end -- 2.39.5