mirror of
https://github.com/redmine/redmine.git
synced 2026-07-20 21:51:57 +02: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user