From 112ef4500d9a0886c4683d8d193398dfe8289700 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 3 Mar 2009 14:33:41 -0300 Subject: [PATCH] ActionItem953: don't render blocks on 404 error --- 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 c07c542..379c139 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -101,6 +101,7 @@ class ApplicationController < ActionController::Base end def render_not_found(path = nil) + @no_design_blocks = true @path ||= request.path render :template => 'shared/not_found.rhtml', :status => 404 end -- libgit2 0.21.2