summaryrefslogtreecommitdiff
path: root/templates/_train_details.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-21 23:36:57 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-21 23:36:57 +0100
commit55b016b62bc21c2f3b0a1ecde385b10cc474c671 (patch)
tree73ebaa26765d44f8b98eb58e01bd9789b1698cbf /templates/_train_details.html.ep
parent843ee82289199ee77999ffcacdce72081843a9d4 (diff)
fix parameter passing (do not forward train/ajax to station requests)3.8.5
Diffstat (limited to 'templates/_train_details.html.ep')
-rw-r--r--templates/_train_details.html.ep4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep
index fc77d27..57a6ca1 100644
--- a/templates/_train_details.html.ep
+++ b/templates/_train_details.html.ep
@@ -169,7 +169,7 @@
<ul class="mroute">
% for my $stop (@{$departure->{route_pre_diff}}) {
<li>
- <a href="<%= url_with('station', station => $stop->{name}) %>" class="
+ <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed')}) %>" class="
% if ($stop->{isAdditional}) {
additional-stop
% }
@@ -205,7 +205,7 @@
</li>
% for my $stop (@{$departure->{route_post_diff}}) {
<li>
- <a href="<%= url_with('station', station => $stop->{name}) %>" class="
+ <a href="<%= url_for('station', station => $stop->{name})->query({detailed => param('detailed')}) %>" class="
% if ($stop->{isAdditional}) {
additional-stop
% }