summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Static.pm
blob: 1be444f698837b4a6c6818564067c97d8c639e19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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;