Commit 112ef4500d9a0886c4683d8d193398dfe8289700

Authored by Antonio Terceiro
1 parent 96da7103

ActionItem953: don't render blocks on 404 error

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/controllers/application.rb
... ... @@ -101,6 +101,7 @@ class ApplicationController < ActionController::Base
101 101 end
102 102  
103 103 def render_not_found(path = nil)
  104 + @no_design_blocks = true
104 105 @path ||= request.path
105 106 render :template => 'shared/not_found.rhtml', :status => 404
106 107 end
... ...