mirror of
https://github.com/derf/travelynx
synced 2024-12-12 14:02:33 +00:00
18 lines
309 B
Perl
18 lines
309 B
Perl
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;
|