diff --git a/templates/departures.html.ep b/templates/departures.html.ep index 4843d81..6b16ce7 100644 --- a/templates/departures.html.ep +++ b/templates/departures.html.ep @@ -8,16 +8,16 @@ % }
- % my $self_link = url_for('sstation', station => param('station')); + % my $self_link = url_for('sstation', station => $station // param('station')); % if (param('hafas')) { - <%= param('hafas') %> + <%= param('hafas') %> % } % else { % if ($user->{backend_id}) { - <%= $user->{backend_name} %> + <%= $user->{backend_name} %> % } % else { - DB + DB % } % }