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