diff options
author | Daniel Friesel <derf@finalrewind.org> | 2023-02-15 20:01:43 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2023-02-15 20:01:43 +0100 |
commit | 978c7b03c2a333eb48b9d223c3a010a35211d1ac (patch) | |
tree | 058e0158dbc9f23f2ae21d2a2f8b76d8239a4ffe /lib/Travelynx.pm | |
parent | 1e1c71cfd876b75ead06b019eabe41a01d0eb972 (diff) |
journey: add share button
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-x | lib/Travelynx.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index c4f6bca..9a9617d 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -2155,7 +2155,8 @@ sub startup { $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->get( '/p/:name/j/:id' => 'public_journey' ) + ->to('traveling#public_journey_details'); $r->get('/.well-known/webfinger')->to('account#webfinger'); $r->post('/api/v1/import')->to('api#import_v1'); $r->post('/api/v1/travel')->to('api#travel_v1'); |