summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/departures.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep
index 220d951..3ef081b 100644
--- a/templates/departures.html.ep
+++ b/templates/departures.html.ep
@@ -40,7 +40,7 @@
</div>
</div>
% }
-% elsif (not param('train') and my @connections = get_connecting_trains(eva => $eva)) {
+% elsif (not param('train') and my @connections = @{stash('connections') // []}) {
% $have_connections = 1;
<div class="row">
<div class="col s12">