Unverified Commit 1a2ff826 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

... 'status' is a reserved renderer key. oops.

parent bc978120
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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
		);
+1 −1
Original line number Diff line number Diff line
% if (is_user_authenticated()) {
	% my $status = stash('status');
	% my $status = stash('user_status');
	% if (stash('error')) {
		<div class="row">
			<div class="col s12">