diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-02-20 21:45:51 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-02-20 21:45:51 +0100 |
commit | 01aec7e9770d99565c06f673268ba587007c2b1f (patch) | |
tree | 96b54a54ddbbc930890cdb75415153f7e3430c4b /lib/Travelynx.pm | |
parent | 209e2918217aef8d900a194309160f7119a205bc (diff) |
fix ajax refresh of public status card (trim .html suffix)1.22.1
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-x | lib/Travelynx.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 621f3e8..49c1399 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -2520,7 +2520,7 @@ sub startup { $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')->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'); |