summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-02-20 21:45:51 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-02-20 21:45:51 +0100
commit01aec7e9770d99565c06f673268ba587007c2b1f (patch)
tree96b54a54ddbbc930890cdb75415153f7e3430c4b /lib/Travelynx.pm
parent209e2918217aef8d900a194309160f7119a205bc (diff)
fix ajax refresh of public status card (trim .html suffix)1.22.1
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm2
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');