summaryrefslogtreecommitdiff
path: root/templates/layouts/app.html.ep
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-04-18 22:53:44 +0200
committerDerf Null <derf@finalrewind.org>2023-04-18 22:53:44 +0200
commit308a5a8530e1a435b1b15297331ee56de6a97279 (patch)
treeead72c53ed18badd1ebfd10ee2abe851db6e5b1b /templates/layouts/app.html.ep
parentdfdf32b357ba057325fb02f6363706d18733a418 (diff)
app: respect hafas link in location search
Diffstat (limited to 'templates/layouts/app.html.ep')
-rw-r--r--templates/layouts/app.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep
index 722327b..e2dd6ac 100644
--- a/templates/layouts/app.html.ep
+++ b/templates/layouts/app.html.ep
@@ -146,7 +146,7 @@ Bitte eine Station aus der Liste auswählen</div>
</div>
% if (stash('input')) {
<div class="geolink">
- <a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https') %>">Stationen in der Umgebung suchen</a>
+ <a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https')->query({hafas => param('hafas')}) %>">Stationen in der Umgebung suchen</a>
</div>
% }
<div class="break"></div>