Do not render twice for cached pages.

This commit is contained in:
Mario Visic 2011-08-25 22:11:57 +08:00
parent e111e2c1f9
commit fdf55aee88

View File

@ -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