blob: 0144d8314763823e7ea84ab1990ae2190bb2832b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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;
|