summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-07 20:49:45 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-07 20:49:45 +0200
commit33be560292ac02595f3fb386d5785d1f2b690dba (patch)
treecfdc6e26a5f522f3e3157e7e61da75d922299b9f /lib/DBInfoscreen.pm
parentd2f3efbd0c2839c287a6e9b43b5383816b162a56 (diff)
working train intersection demo \o/
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r--lib/DBInfoscreen.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index 72be819..3b3d5c1 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -351,6 +351,9 @@ sub startup {
$r->get('/map/:tripid/:lineno')->to('map#route');
$r->get('/intersection/:trips')->to('map#intersection');
+ $r->get('/map')->to('map#search_form');
+ $r->get('/_trainsearch')->to('map#search');
+
$self->defaults( layout => 'app' );
$r->get('/')->to('stationboard#handle_request');