diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-24 09:00:30 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-24 09:00:30 +0200 |
commit | b992a6dc75e92d63f4cbca758cd70d825d893c05 (patch) | |
tree | d3e87d4508120e9a373ea46c5a47b968fa2e8a00 /lib/Travelynx | |
parent | fd314e327d9926da00a433c8192d592334662ba5 (diff) |
$render(status => ...) is a special variable. derp.
Diffstat (limited to 'lib/Travelynx')
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 4 |
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 ); } } |