summaryrefslogtreecommitdiff
path: root/templates/train_details.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-03-21 08:19:33 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-03-21 08:19:33 +0100
commit234486663dbe1712c10888121d9bf38c4cbd2cc8 (patch)
treed2527e55d2e67670c39af6aa912825fb9cfe4750 /templates/train_details.html.ep
parentd4f528767cc904320c26b30abf8bb5d83548514b (diff)
add preliminary support for station-independent train details
Diffstat (limited to 'templates/train_details.html.ep')
-rw-r--r--templates/train_details.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/train_details.html.ep b/templates/train_details.html.ep
index 08058a9..7d5ea90 100644
--- a/templates/train_details.html.ep
+++ b/templates/train_details.html.ep
@@ -1,4 +1,4 @@
-<div class="app" data-station="<%= $station_name %>">
+<div class="app" data-station="<%= stash('station_name') // q{} %>">
<div class="moreinfo" data-static="1">
%= include '_train_details'
</div>