Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

RAILS_RELATIVE_URL_ROOT and password reset mail #1541

tsipanov opened this Issue Jul 20, 2012 · 0 comments


None yet
2 participants


I have an application with active admin enabled running under non-root path (e.g. /application1/admin).

I figured out how to make everything to work properly, except one thing that is not known how to be fixed:
When the user tries to change his password, the email generated contains wrong URL to the password reset path.

As it appears activeadmin-0.4.4/app/views/active_admin/devise/mailer/reset_password_instructions.html.erb uses edit_password_path() for the URL generating, but this url doesn't respect the RAILS_RELATIVE_URL_ROOT=/application1 setting.

How I can fix it?

Thank you.

@seanlinsley seanlinsley closed this Jul 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment