summaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-17 12:41:18 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-17 12:41:18 +0000
commit745e4152f8ec7083e6e4374d72d3fdcb6a6f3c92 (patch)
tree0538f3ded14321641646da32280f903f05bf963a /app/controllers/application_controller.rb
parent56dfe3c0703e8feda3d30d1d8331bdc7f555f131 (diff)
downloadredmine-745e4152f8ec7083e6e4374d72d3fdcb6a6f3c92.tar.gz
redmine-745e4152f8ec7083e6e4374d72d3fdcb6a6f3c92.zip
remove spaces inside {} of ApplicationController
git-svn-id: http://svn.redmine.org/redmine/trunk@20409 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb6
1 files 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