mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
Reverts r12855.
git-svn-id: http://svn.redmine.org/redmine/trunk@12856 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -431,10 +431,6 @@ class ApplicationController < ActionController::Base
|
||||
format.html {
|
||||
render :template => 'common/error', :layout => use_layout, :status => @status
|
||||
}
|
||||
format.js {
|
||||
# Can't use an error status here, browsers wouldn't execute the JS response
|
||||
render :template => 'common/error', :layout => false, :status => 200
|
||||
}
|
||||
format.any { head @status }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user