Use _url, not _path, in mailers
This commit is contained in:
parent
290aded7f6
commit
f49c8884f4
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ class Maintenance < ActionMailer::Base
|
|||
|
||||
def account_removal_warning(user)
|
||||
@user = user
|
||||
@login_url = new_user_session_path
|
||||
@login_url = new_user_session_url
|
||||
@pod_url = AppConfig.environment.url
|
||||
@after_days = AppConfig.settings.maintenance.remove_old_users.after_days.to_s
|
||||
@remove_after = @user.remove_after
|
||||
|
|
|
|||
Loading…
Reference in a new issue