diff options
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 5 | ||||
-rw-r--r-- | templates/layouts/app.html.ep | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 3cdf5b8..8cfdbfe 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1785,9 +1785,8 @@ sub handle_result { sub stations_by_coordinates { my $self = shift; - my $lon = $self->param('lon'); - my $lat = $self->param('lat'); - my $hafas = $self->param('hafas'); + my $lon = $self->param('lon'); + my $lat = $self->param('lat'); if ( not $lon or not $lat ) { $self->render( json => { error => 'Invalid lon/lat received' } ); diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index 9b5e0b6..bc12c5e 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')->query({hafas => param('hafas')}) %>">Stationen in der Umgebung suchen</a> + <a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https') %>">Stationen in der Umgebung suchen</a> </div> % } <div class="break"></div> |