diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-04-14 17:33:20 -0400 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-04-14 17:34:30 -0400 |
commit | e1e07d5811360bec59d2fb63d8cedb96d4091301 (patch) | |
tree | e4d2c9d618b99ee74133ab8ec523ad6907a862dc /lib/Travelynx/Controller/Static.pm | |
parent | 17e8b659571d18f3df4de597ad5674b2eed1ae33 (diff) |
Set version via config
Diffstat (limited to 'lib/Travelynx/Controller/Static.pm')
-rw-r--r-- | lib/Travelynx/Controller/Static.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |