Skip to content
Snippets Groups Projects
Unverified Commit 0420fc15 authored by Sébastien Gaya's avatar Sébastien Gaya Committed by GitHub
Browse files

redirect to "/" instead of root_path to be clear and handle activestorage (#1688)

parent 0d3a20e4
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ module ApplicationController::WithErrors
end
def handle_unverified_request
redirect_back(fallback_location: root_path, alert: t('inactivity_alert'))
redirect_back(fallback_location: '/', alert: t('inactivity_alert'))
end
def render_not_found
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment