summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-05-19 19:45:40 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-05-19 19:45:40 +0200
commita560eb49240a6f1f180a1a9111887b7fb2e5e3b7 (patch)
treed170a8e8310fe4ea43981d5b0f8411035a13c845 /index.pl
parentec49f4bad7fc12e1f23459ded6b72405117a4ab1 (diff)
Add links to imprint and privacy policy
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl12
1 files changed, 12 insertions, 0 deletions
diff --git a/index.pl b/index.pl
index f9f2619..de7f708 100644
--- a/index.pl
+++ b/index.pl
@@ -639,6 +639,18 @@ get '/_redirect' => sub {
return;
};
+get '/_privacy' => sub {
+ my $self = shift;
+
+ $self->render('privacy');
+};
+
+get '/_imprint' => sub {
+ my $self = shift;
+
+ $self->render('imprint');
+};
+
get '/' => \&handle_request;
get '/:city/(*stop).html' => \&render_html;
get '/:city/(*stop).json' => \&render_json;