blob: 09d7f51352969b5dfea49621719cea68bb5082b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package Travelynx::Controller::Static;
use Mojo::Base 'Mojolicious::Controller';
my $travelynx_version = qx{git describe --dirty} || 'experimental';
sub about {
my ($self) = @_;
$self->render( 'about',
version => $self->app->config->{version} // 'UNKNOWN' );
}
sub imprint {
my ($self) = @_;
$self->render('imprint');
}
1;
|