diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-05-02 10:05:15 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-05-02 10:05:15 +0200 |
commit | 3de5de7db2b7eebe000c6534bfd020405921ccdc (patch) | |
tree | c57f9ea7cddbd99f21dd1a16760ddeabdc0079ce /lib/Travelynx.pm | |
parent | 1bf128936d1af615bcbbf6aeb6d6ce5ab8179975 (diff) |
Finish public-facing exposed user status (opt-in)
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 8760135..8e10896 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1729,6 +1729,7 @@ sub startup { $r->get('/register')->to('account#registration_form'); $r->get('/reg/:id/:token')->to('account#verify'); $r->get('/status/:name')->to('traveling#user_status'); + $r->get('/ajax/status/:name')->to('traveling#public_status_card'); $r->post('/action')->to('traveling#log_action'); $r->post('/geolocation')->to('traveling#geolocation'); $r->post('/list_departures')->to('traveling#redirect_to_station'); |