Do not render twice for cached pages.
This commit is contained in:
parent
e111e2c1f9
commit
fdf55aee88
@ -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