summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-06-28 08:59:40 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-06-28 08:59:40 +0200
commit9710189897448f3f4a144e27325578c900250068 (patch)
treef6cdb78b602e6f9e1f84f3a1c2232c184df05a6f /lib/DBInfoscreen.pm
parent4587af307d0c5fc8b53d082f346fc5f5ba042168 (diff)
add experimental (and unreferenced) train intersection calculation
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 e49ce70..83b7103 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -317,6 +317,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');
$self->defaults( layout => 'app' );