summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Static.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Controller/Static.pm')
-rw-r--r--lib/Travelynx/Controller/Static.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Travelynx/Controller/Static.pm b/lib/Travelynx/Controller/Static.pm
index b5f6d89..0f4b8bd 100644
--- a/lib/Travelynx/Controller/Static.pm
+++ b/lib/Travelynx/Controller/Static.pm
@@ -8,15 +8,13 @@ use Mojo::Base 'Mojolicious::Controller';
sub about {
my ($self) = @_;
- $self->render( 'about',
- version => $self->app->config->{version} // 'UNKNOWN' );
+ $self->render('about');
}
sub changelog {
my ($self) = @_;
- $self->render( 'changelog',
- version => $self->app->config->{version} // 'UNKNOWN' );
+ $self->render('changelog');
}
sub imprint {