summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/DBInfoscreen.pm2
-rw-r--r--templates/_train_details.html.ep2
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 @@
</a>
% }
% elsif ($icetype and $icetype->[2] and $linetype eq 'fern') {
- <a class="smallbutton" href="/zb-db/<%= $departure->{train_no} %>"><i class="material-icons" aria-hidden="true">train</i> Plan: <%= $icetype->[0] %></a>
+ <a class="smallbutton" href="/wr/<%= $departure->{train_no} %>"><i class="material-icons" aria-hidden="true">train</i> Plan: <%= $icetype->[0] %></a>
% }
% elsif ($icetype and $icetype->[1] and $linetype eq 'fern') {
<span class="disabledbutton"><i class="material-icons" aria-hidden="true">train</i> Plan: <%= $icetype->[0] %></span>