diff --git a/app/assets/javascripts/app/controllers/reset_password.js.coffee b/app/assets/javascripts/app/controllers/reset_password.js.coffee index be899be8e..c2f9e2dbc 100644 --- a/app/assets/javascripts/app/controllers/reset_password.js.coffee +++ b/app/assets/javascripts/app/controllers/reset_password.js.coffee @@ -42,7 +42,7 @@ class Index extends App.Controller App.Com.ajax( id: 'password_reset', type: 'POST', - url: '/users/password_reset', + url: '/api/users/password_reset', data: JSON.stringify(params), processData: true, success: @success, @@ -83,7 +83,7 @@ class Verify extends App.Controller App.Com.ajax( id: 'passwort_reset_verify', type: 'POST', - url: '/users/password_reset_verify', + url: '/api/users/password_reset_verify', data: JSON.stringify(params), processData: true, success: @render_success @@ -118,7 +118,7 @@ class Verify extends App.Controller App.Com.ajax( id: 'password_reset_verify', type: 'POST', - url: '/users/password_reset_verify', + url: '/api/users/password_reset_verify', data: JSON.stringify(params), processData: true, success: @render_changed_success