diff options
author | Daniel Friesel <derf@finalrewind.org> | 2023-01-09 19:42:41 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2023-01-09 19:42:41 +0100 |
commit | 8da6180bf186523af9aadd51ff5512a278f3e300 (patch) | |
tree | c75a9a0a6e3fd91131e9ee86f13ee07129af7bf3 /lib/DBInfoscreen.pm | |
parent | 2ab551e913c56185d5888784453c18de376f56d6 (diff) |
readd ze zycles4.14.9
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r-- | lib/DBInfoscreen.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm index 836f94e..8687cb8 100644 --- a/lib/DBInfoscreen.pm +++ b/lib/DBInfoscreen.pm @@ -312,8 +312,9 @@ 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')->to('stationboard#train_details'); + $r->get( '/z/:train/*station' => 'train_at_station' ) + ->to('stationboard#station_train_details'); + $r->get( '/z/:train' => 'train' )->to('stationboard#train_details'); $r->get('/map')->to('map#search_form'); $r->get('/_trainsearch')->to('map#search'); |