From e1e07d5811360bec59d2fb63d8cedb96d4091301 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 14 Apr 2019 17:33:20 -0400 Subject: Set version via config --- lib/Travelynx/Controller/Static.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travelynx') diff --git a/lib/Travelynx/Controller/Static.pm b/lib/Travelynx/Controller/Static.pm index aa3428e..0144d83 100644 --- a/lib/Travelynx/Controller/Static.pm +++ b/lib/Travelynx/Controller/Static.pm @@ -6,7 +6,7 @@ my $travelynx_version = qx{git describe --dirty} || 'experimental'; sub about { my ($self) = @_; - $self->render( 'about', version => $travelynx_version ); + $self->render( 'about', version => $self->app->config->{version} // 'UNKNOWN' ); } sub imprint { -- cgit v1.2.3