diff options
author | Derf Null <derf@finalrewind.org> | 2023-03-13 21:06:53 +0100 |
---|---|---|
committer | Derf Null <derf@finalrewind.org> | 2023-03-13 21:06:53 +0100 |
commit | 402fcc4d6fc7cdfa0b547734dd379944d95ff16f (patch) | |
tree | a555be39da07763f06a34b2f278eeef397300fd5 /lib/Travelynx.pm | |
parent | 1dae686bda4f301a436af0779732107b7d6854b5 (diff) |
move profile / public data to a separate controller
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-x | lib/Travelynx.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 8ec3c8e..3ae9327 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -2153,13 +2153,13 @@ sub startup { $r->get('/recover')->to('account#request_password_reset'); $r->get('/recover/:id/:token')->to('account#recover_password'); $r->get('/reg/:id/:token')->to('account#verify'); - $r->get('/status/:name')->to('traveling#user_status'); - $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('/status/:name')->to('profile#user_status'); + $r->get('/status/:name/:ts')->to('profile#user_status'); + $r->get('/ajax/status/#name')->to('profile#status_card'); + $r->get('/ajax/status/:name/:ts')->to('profile#status_card'); + $r->get('/p/:name')->to('profile#profile'); $r->get( '/p/:name/j/:id' => 'public_journey' ) - ->to('traveling#public_journey_details'); + ->to('profile#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'); |