From 35987f6c9c080ed52fd9611bd040439c05e5b1e1 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 5 Mar 2009 11:13:30 -0300 Subject: [PATCH] ActionItem953: making "not found" and "access denied" pages consistent. --- app/controllers/application.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/controllers/application.rb b/app/controllers/application.rb index 379c139..adb31f4 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -107,6 +107,7 @@ class ApplicationController < ActionController::Base end def render_access_denied(message = nil) + @no_design_blocks = true @message = message render :template => 'shared/access_denied.rhtml', :status => 403 end -- libgit2 0.21.2