blob: aa3428e420a8afe8419b5db9f07db60ae39122d7 (
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 => $travelynx_version );
}
sub imprint {
my ($self) = @_;
$self->render('imprint');
}
1;
|