diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-01-04 22:51:59 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-01-04 22:51:59 +0100 |
commit | 3d22c00120518f8c5207fe1049a00506091cd43c (patch) | |
tree | 5b252917e282970663309467e75c150149ac55cc /lib/DBInfoscreen.pm | |
parent | d8d8d53efd8e5d81e648e264a0b45e4e151c5277 (diff) |
show train route on map2.5.0
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r-- | lib/DBInfoscreen.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm index b062c9d..c1455ff 100644 --- a/lib/DBInfoscreen.pm +++ b/lib/DBInfoscreen.pm @@ -281,6 +281,8 @@ sub startup { $r->get('/_wr/:train/:departure')->to('wagenreihung#wagenreihung'); + $r->get('/map/:tripid/:lineno')->to('map#route'); + $self->defaults( layout => 'app' ); $self->sessions->default_expiration( 3600 * 24 * 28 ); |