From beb59221e733c6b9afe870aefc1c725baebb85cb Mon Sep 17 00:00:00 2001 From: Molly Miller Date: Mon, 12 Jun 2023 20:46:10 +0200 Subject: Add app version to default stashed values. This means that the version no longer needs to be passed to every version manually, and is automatically populated in templates where the parameter is not explicitly provided. --- lib/Travelynx/Controller/Profile.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/Travelynx/Controller/Profile.pm') diff --git a/lib/Travelynx/Controller/Profile.pm b/lib/Travelynx/Controller/Profile.pm index 52742fc..3923773 100755 --- a/lib/Travelynx/Controller/Profile.pm +++ b/lib/Travelynx/Controller/Profile.pm @@ -207,7 +207,6 @@ sub profile { journey => $status, journey_visibility => $visibility, journeys => [@journeys], - version => $self->app->config->{version} // 'UNKNOWN', ); } -- cgit v1.2.3