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:
commit
201063aae0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user