artamonovdev artamonovdev - 3 years ago 98
Ruby Question

How send url for recovery profile with devise_token_auth gem like devise url

In my application installed gem Devise and devise_token_auth.

When I request the recovery link then I got this url to my email:


but I want this url

What I must change in my source code?

Answer Source

edit_password_path(:user) translate to edit_user_password_path

Here path needs to be interchangeable with url.

Hope it worked.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download