diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-09-03 22:27:50 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-09-03 22:27:50 +0200 |
commit | 482fa975b5f50064deb57b651019908c17b71f47 (patch) | |
tree | 118e0247f29c058f61e53db5716df1c1d848d898 /lib/Travelynx.pm | |
parent | ea0fe3ea3e72eb690dd5a92eb4831523be740d08 (diff) |
add public profile page and public journey details
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-x | lib/Travelynx.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 232cb46..613fbc3 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -2685,6 +2685,8 @@ sub startup { $r->get('/status/:name/:ts')->to('traveling#user_status'); $r->get('/ajax/status/:name')->to('traveling#public_status_card'); $r->get('/ajax/status/:name/:ts')->to('traveling#public_status_card'); + $r->get('/p/:name')->to('traveling#public_profile'); + $r->get('/p/:name/j/:id')->to('traveling#public_journey_details'); $r->post('/api/v1/import')->to('api#import_v1'); $r->post('/api/v1/travel')->to('api#travel_v1'); $r->post('/action')->to('traveling#log_action'); |