summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-21 18:50:24 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-21 18:50:24 +0200
commit1ccb20d8c19a7c9998b9daecbcf9d89a64714de4 (patch)
tree3d30bb630591a322f73fe51bb588750a5c9afab7 /lib/DBInfoscreen.pm
parent12e55126ec17f49cd8af27d172c96fd61fd2297a (diff)
add permalink to train details
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r--lib/DBInfoscreen.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index b7b5f21..3acb969 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -351,6 +351,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#train_details');
$r->get('/map')->to('map#search_form');
$r->get('/_trainsearch')->to('map#search');