summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm6
-rw-r--r--templates/landingpage.html.ep2
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index 86d29c4..ed1a879 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -229,7 +229,7 @@ sub homepage {
'landingpage',
version => $self->app->config->{version}
// 'UNKNOWN',
- status => $status,
+ user_status => $status,
connections => \@connecting_trains,
with_autocomplete => 1,
with_geolocation => 1
@@ -243,7 +243,7 @@ sub homepage {
'landingpage',
version => $self->app->config->{version}
// 'UNKNOWN',
- status => $status,
+ user_status => $status,
with_autocomplete => 1,
with_geolocation => 1
);
@@ -257,7 +257,7 @@ sub homepage {
$self->render(
'landingpage',
version => $self->app->config->{version} // 'UNKNOWN',
- status => $status,
+ user_status => $status,
with_autocomplete => 1,
with_geolocation => 1
);
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep
index 3225950..03d0eca 100644
--- a/templates/landingpage.html.ep
+++ b/templates/landingpage.html.ep
@@ -1,5 +1,5 @@
% if (is_user_authenticated()) {
- % my $status = stash('status');
+ % my $status = stash('user_status');
% if (stash('error')) {
<div class="row">
<div class="col s12">