summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-06-19 19:31:59 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-06-19 19:31:59 +0200
commitdbb692625e2b562ea3d0e5916e243b8daf5fa8e8 (patch)
treec1030588d793c3e7c305ae5803637ad6ccdf030c
parenta17341d06679af0109f74512612cdfecd570d412 (diff)
fix route for train details (/z/:train/*station)
-rw-r--r--lib/DBInfoscreen.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index c0fa57b..ca8be38 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -373,7 +373,7 @@ sub startup {
$r->get('/_ajax_mapinfo/:tripid/:lineno')->to('map#ajax_route');
$r->get('/map/:tripid/:lineno')->to('map#route');
$r->get('/intersection/:trips')->to('map#intersection');
- $r->get('/z/:train/:station')->to('stationboard#station_train_details');
+ $r->get('/z/:train/*station')->to('stationboard#station_train_details');
$r->get('/z/:train')->to('stationboard#train_details');
$r->get('/map')->to('map#search_form');