summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 55daae3..4b85845 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="/<%= $stop->{name} %>#<%= $departure->{train_type} . $departure->{train_no} %>" class="
+ <a href="<%= url_with('station', station => $stop->{name}) %>" class="
% if ($stop->{isAdditional}) {
additional-stop
% }
@@ -205,7 +205,7 @@
</li>
% for my $stop (@{$departure->{route_post_diff}}) {
<li>
- <a href="/<%= $stop->{name} %>#<%= $departure->{train_type} . $departure->{train_no} %>" class="
+ <a href="<%= url_with('station', station => $stop->{name}) %>" class="
% if ($stop->{isAdditional}) {
additional-stop
% }