lib/locomotive/steam/middlewares/entry_submission.rb in locomotivecms_steam-1.1.2 vs lib/locomotive/steam/middlewares/entry_submission.rb in locomotivecms_steam-1.2.0.beta1
- old
+ new
@@ -57,10 +57,10 @@
def navigation_html_error(entry)
if error_location =~ HTTP_REGEXP
redirect_to error_location
else
- env['PATH_INFO'] = error_location
+ env['PATH_INFO'] = make_local_path(error_location)
store_in_liquid(entry)
self.next
end
end