Fixed API url.

This commit is contained in:
Martin Edenhofer 2012-11-11 17:43:30 +01:00
parent 4499d5958f
commit 7fc1e2f9c7

View file

@ -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