summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-24 09:00:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-24 09:00:30 +0200
commitb992a6dc75e92d63f4cbca758cd70d825d893c05 (patch)
treed3e87d4508120e9a373ea46c5a47b968fa2e8a00 /lib/Travelynx
parentfd314e327d9926da00a433c8192d592334662ba5 (diff)
$render(status => ...) is a special variable. derp.
Diffstat (limited to 'lib/Travelynx')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index 112fa80..8c15782 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -26,10 +26,10 @@ sub status_card {
delete $self->stash->{layout};
if ( $status->{checked_in} ) {
- $self->render( '_checked_in', status => $status );
+ $self->render( '_checked_in', journey => $status );
}
else {
- $self->render( '_checked_out', status => $status );
+ $self->render( '_checked_out', journey => $status );
}
}