travelynx/lib/Travelynx/Controller/Static.pm
Molly Miller beb59221e7 Add app version to default stashed values.
This means that the version no longer needs to be passed to every version
manually, and is automatically populated in templates where the parameter is
not explicitly provided.
2023-06-12 20:48:01 +02:00

38 lines
487 B
Perl

package Travelynx::Controller::Static;
# Copyright (C) 2020-2023 Daniel Friesel
#
# SPDX-License-Identifier: AGPL-3.0-or-later
use Mojo::Base 'Mojolicious::Controller';
sub about {
my ($self) = @_;
$self->render('about');
}
sub changelog {
my ($self) = @_;
$self->render('changelog');
}
sub imprint {
my ($self) = @_;
$self->render('imprint');
}
sub legend {
my ($self) = @_;
$self->render('legend');
}
sub offline {
my ($self) = @_;
$self->render('offline');
}
1;