travelynx/lib/Travelynx/Controller/Static.pm
Cassidy Dingenskirchen 5b3cfd3355
add title elements
(cherry picked from commit 5d8f6467dc00f03957784230983ed730ec421291)
Signed-off-by: Birte Kristina Friesel <derf@finalrewind.org>
2024-01-30 21:04:42 +01:00

38 lines
623 B
Perl

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