summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
Diffstat (limited to 'index.pl')
-rwxr-xr-xindex.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/index.pl b/index.pl
index 467eed4..7fb6681 100755
--- a/index.pl
+++ b/index.pl
@@ -1458,7 +1458,11 @@ get '/s/*station' => sub {
my $status = get_departures($station);
if ( $status->{errstr} ) {
- $self->render( 'landingpage', error => $status->{errstr} );
+ $self->render(
+ 'landingpage',
+ with_geolocation => 1,
+ error => $status->{errstr}
+ );
}
else {
# You can't check into a train which terminates here