Commit 35987f6c9c080ed52fd9611bd040439c05e5b1e1

Authored by Antonio Terceiro
1 parent d7c4b81a

ActionItem953: making "not found" and "access denied" pages consistent.

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/controllers/application.rb
... ... @@ -107,6 +107,7 @@ class ApplicationController < ActionController::Base
107 107 end
108 108  
109 109 def render_access_denied(message = nil)
  110 + @no_design_blocks = true
110 111 @message = message
111 112 render :template => 'shared/access_denied.rhtml', :status => 403
112 113 end
... ...