diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-06-19 19:31:59 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-06-19 19:31:59 +0200 |
commit | dbb692625e2b562ea3d0e5916e243b8daf5fa8e8 (patch) | |
tree | c1030588d793c3e7c305ae5803637ad6ccdf030c /lib/DBInfoscreen.pm | |
parent | a17341d06679af0109f74512612cdfecd570d412 (diff) |
fix route for train details (/z/:train/*station)
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r-- | lib/DBInfoscreen.pm | 2 |
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'); |