Do not render twice for cached pages.
This commit is contained in:
parent
e111e2c1f9
commit
fdf55aee88
@ -103,7 +103,7 @@ module Locomotive
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
render :text => output, :layout => false, :status => page_status
|
render :text => output, :layout => false, :status => page_status unless performed?
|
||||||
end
|
end
|
||||||
|
|
||||||
def not_found_page
|
def not_found_page
|
||||||
|
Loading…
Reference in New Issue
Block a user