summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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