travelynx/lib/Travelynx/Controller/Static.pm

19 lines
309 B
Perl
Raw Normal View History

2019-03-22 15:56:49 +00:00
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;