1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-27 02:41:15 +00:00

remove spaces inside {} of ApplicationController

git-svn-id: http://svn.redmine.org/redmine/trunk@20409 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-11-17 12:41:18 +00:00
parent 56dfe3c070
commit 745e4152f8

View File

@ -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