From 3ce1cfc55f03ccb67b3bab13112d4594974552a4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 31 Mar 2019 19:32:41 +0200 Subject: Select journeys by ID --- templates/history.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/history.html.ep') diff --git a/templates/history.html.ep b/templates/history.html.ep index 5fc3907..8f63296 100644 --- a/templates/history.html.ep +++ b/templates/history.html.ep @@ -79,7 +79,7 @@ % for my $travel (@{$journeys}) { % if ($travel->{completed}) { - % my $detail_link = '/journey/' . current_user()->{id} . '-' . $travel->{checkin}->epoch . '-' . $travel->{checkout}->epoch; + % my $detail_link = '/journey/' . current_user()->{id} . '-' . $travel->{ids}->[1]; <%= $travel->{sched_departure}->strftime('%d.%m.%Y') %> -- cgit v1.2.3