summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller/Static.pm
blob: 9a57f050efbd78bb7adb0aef95d0dae98fe9da65 (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
39
40
41
42
43
44
45
46
47
package DBInfoscreen::Controller::Static;

# Copyright (C) 2011-2020 Birte Kristina Friesel
#
# SPDX-License-Identifier: AGPL-3.0-or-later

use Mojo::Base 'Mojolicious::Controller';

my %default = (
	mode   => 'app',
	admode => 'deparr',
);

sub geostop {
	my ($self) = @_;

	$self->render(
		'geostop',
		with_geostop => 1,
		hide_opts    => 1,
		hide_footer  => 1,
	);
}

sub about {
	my ($self) = @_;

	$self->render(
		'about',
		hide_opts => 1,
		hide_footer => 1,
	);
}

sub privacy {
	my ($self) = @_;

	$self->render( 'privacy', hide_opts => 1, hide_footer => 1 );
}

sub imprint {
	my ($self) = @_;

	$self->render( 'imprint', hide_opts => 1, hide_footer => 1 );
}

1;