app/controllers/catch_all_controller.rb in udongo-2.0.4 vs app/controllers/catch_all_controller.rb in udongo-3.0.0
- old
+ new
@@ -4,9 +4,9 @@
if redirect && redirect.enabled?
redirect.used!
redirect_to redirect.destination_uri, status: redirect.status_code
else
- render text: 'Page not found', status: 404
+ render plain: 'Page not found', status: 404
end
end
end