You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.
In the SessionsController#create and SessionsController#destroy actions, the path for redirect_back_or_default is hard coded to '/'. Could this be changed to root_path for users that have the rails app running under a sub-url? Since this can be changed pretty easy by the user, might not need a "fix", but would be a lot easier.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the
SessionsController#create
andSessionsController#destroy
actions, the path forredirect_back_or_default
is hard coded to'/'
. Could this be changed toroot_path
for users that have the rails app running under a sub-url? Since this can be changed pretty easy by the user, might not need a "fix", but would be a lot easier.The text was updated successfully, but these errors were encountered: