diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-23 22:27:13 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-23 22:27:13 +0200 |
commit | 6c1cae86f4fa343b4f165f80a4e42eba37fa917c (patch) | |
tree | 273fcc63fd249a766b39855f5dc3f60b4dcecb26 /lib/Travelynx.pm | |
parent | ffaa0c44a78bb4bab632fcb76b668215da4c0a82 (diff) |
Primitive auto-refresh of current journey status
Todo: Redirect user to destination station upon arrival
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-x | lib/Travelynx.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index c11f175..63faafd 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1505,6 +1505,7 @@ sub startup { ); $authed_r->get('/account')->to('account#account'); + $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('/export.json')->to('account#json_export'); |