Unverified Commit 8ffe7856 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

journey history.json: include polylines and more details

parent da49f994
Loading
Loading
Loading
Loading
+8 −1
Changes for lib/Travelynx/Controller/Traveling.pm: 8 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -1467,7 +1467,14 @@ sub json_history {
	my ($self) = @_;

	$self->render(
		json => [ $self->journeys->get( uid => $self->current_user->{id} ) ] );
		json => [
			$self->journeys->get(
				uid           => $self->current_user->{id},
				with_polyline => 1,
				verbose       => 1
			)
		]
	);
}

sub csv_history {