Fixed API url.
This commit is contained in:
parent
4499d5958f
commit
7fc1e2f9c7
1 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ class Index extends App.Controller
|
||||||
App.Com.ajax(
|
App.Com.ajax(
|
||||||
id: 'password_reset',
|
id: 'password_reset',
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: '/users/password_reset',
|
url: '/api/users/password_reset',
|
||||||
data: JSON.stringify(params),
|
data: JSON.stringify(params),
|
||||||
processData: true,
|
processData: true,
|
||||||
success: @success,
|
success: @success,
|
||||||
|
@ -83,7 +83,7 @@ class Verify extends App.Controller
|
||||||
App.Com.ajax(
|
App.Com.ajax(
|
||||||
id: 'passwort_reset_verify',
|
id: 'passwort_reset_verify',
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: '/users/password_reset_verify',
|
url: '/api/users/password_reset_verify',
|
||||||
data: JSON.stringify(params),
|
data: JSON.stringify(params),
|
||||||
processData: true,
|
processData: true,
|
||||||
success: @render_success
|
success: @render_success
|
||||||
|
@ -118,7 +118,7 @@ class Verify extends App.Controller
|
||||||
App.Com.ajax(
|
App.Com.ajax(
|
||||||
id: 'password_reset_verify',
|
id: 'password_reset_verify',
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
url: '/users/password_reset_verify',
|
url: '/api/users/password_reset_verify',
|
||||||
data: JSON.stringify(params),
|
data: JSON.stringify(params),
|
||||||
processData: true,
|
processData: true,
|
||||||
success: @render_changed_success
|
success: @render_changed_success
|
||||||
|
|
Loading…
Reference in a new issue