From c0526ca0f9b05617a4590167b79e7466af7fd081 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 18 Dec 2020 22:02:47 +0100 Subject: use generic path for static wagon order --- lib/DBInfoscreen.pm | 2 +- templates/_train_details.html.ep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm index 4fca3b6..8bd7022 100644 --- a/lib/DBInfoscreen.pm +++ b/lib/DBInfoscreen.pm @@ -414,7 +414,7 @@ sub startup { $r->get('/_impressum')->to('static#imprint'); $r->get('/_wr/:train/:departure')->to('wagenreihung#wagenreihung'); - $r->get('/zb-db/:train')->to('wagenreihung#zugbildung_db'); + $r->get('/wr/:train')->to('wagenreihung#zugbildung_db'); $r->get('/_ajax_mapinfo/:tripid/:lineno')->to('map#ajax_route'); $r->get('/map/:tripid/:lineno')->to('map#route'); diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 7c3ee4a..c1c7293 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -113,7 +113,7 @@ % } % elsif ($icetype and $icetype->[2] and $linetype eq 'fern') { - Plan: <%= $icetype->[0] %> + Plan: <%= $icetype->[0] %> % } % elsif ($icetype and $icetype->[1] and $linetype eq 'fern') { Plan: <%= $icetype->[0] %> -- cgit v1.2.3