summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-03 18:57:24 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-03 18:57:24 +0200
commit9f3b80a859a8e54856dd283b635a4abfe377feb9 (patch)
tree9b93b76cb475bb8f07028cc9740f345933968da8 /lib
parent03a67804050829e563bb44c7e9b22e45052672fd (diff)
use /account/... links for mail/password change
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index a9e39bd..7829d2a 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -1754,8 +1754,8 @@ sub startup {
$authed_r->get('/account/privacy')->to('account#privacy');
$authed_r->get('/ajax/status_card.html')->to('traveling#status_card');
$authed_r->get('/cancelled')->to('traveling#cancelled');
- $authed_r->get('/change_password')->to('account#password_form');
- $authed_r->get('/change_mail')->to('account#change_mail');
+ $authed_r->get('/account/password')->to('account#password_form');
+ $authed_r->get('/account/mail')->to('account#change_mail');
$authed_r->get('/export.json')->to('account#json_export');
$authed_r->get('/history.json')->to('traveling#json_history');
$authed_r->get('/history')->to('traveling#history');
@@ -1768,8 +1768,8 @@ sub startup {
$authed_r->post('/account/privacy')->to('account#privacy');
$authed_r->post('/journey/add')->to('traveling#add_journey_form');
$authed_r->post('/journey/edit')->to('traveling#edit_journey');
- $authed_r->post('/change_password')->to('account#change_password');
- $authed_r->post('/change_mail')->to('account#change_mail');
+ $authed_r->post('/account/password')->to('account#change_password');
+ $authed_r->post('/account/mail')->to('account#change_mail');
$authed_r->post('/delete')->to('account#delete');
$authed_r->post('/logout')->to('account#do_logout');
$authed_r->post('/set_token')->to('api#set_token');