Merge pull request #180 from mariovisic/cache_double_render_error

Issue #176 Fix: Do not render twice for cached pages.
This commit is contained in:
Didier Lafforgue 2011-08-25 12:56:17 -07:00
commit 201063aae0

View File

@ -103,7 +103,7 @@ module Locomotive
end
end
render :text => output, :layout => false, :status => page_status
render :text => output, :layout => false, :status => page_status unless performed?
end
def not_found_page