From a560eb49240a6f1f180a1a9111887b7fb2e5e3b7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 19 May 2018 19:45:40 +0200 Subject: Add links to imprint and privacy policy --- index.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'index.pl') 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; -- cgit v1.2.3