Adds an admin layout that displays the admin menu in the sidebar.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3176 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -177,7 +177,7 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
def render_403
|
||||
@project = nil
|
||||
render :template => "common/403", :layout => !request.xhr?, :status => 403
|
||||
render :template => "common/403", :layout => (request.xhr? ? false : 'base'), :status => 403
|
||||
return false
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user