summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller/Static.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-17 21:10:48 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-17 21:10:48 +0100
commit7f0a644f639e5e4ef9d6ed326df7b8ec833e7de4 (patch)
tree3a4e1437789bbc39cf3c0eb7d7af067b258461c5 /lib/DBInfoscreen/Controller/Static.pm
parent4609b7312d67063b2cb0d5803260d7dc25475bc2 (diff)
set version via config
Diffstat (limited to 'lib/DBInfoscreen/Controller/Static.pm')
-rw-r--r--lib/DBInfoscreen/Controller/Static.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/DBInfoscreen/Controller/Static.pm b/lib/DBInfoscreen/Controller/Static.pm
index d8872d1..fc309c6 100644
--- a/lib/DBInfoscreen/Controller/Static.pm
+++ b/lib/DBInfoscreen/Controller/Static.pm
@@ -10,8 +10,6 @@ my %default = (
admode => 'deparr',
);
-my $dbf_version = qx{git describe --dirty} || 'experimental';
-
sub redirect {
my ($self) = @_;
my $station = $self->param('station');
@@ -51,7 +49,7 @@ sub about {
$self->render(
'about',
hide_opts => 1,
- version => $dbf_version
+ version => $self->config->{version}
);
}