diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-05-19 19:45:40 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-05-19 19:45:40 +0200 |
commit | a560eb49240a6f1f180a1a9111887b7fb2e5e3b7 (patch) | |
tree | d170a8e8310fe4ea43981d5b0f8411035a13c845 /index.pl | |
parent | ec49f4bad7fc12e1f23459ded6b72405117a4ab1 (diff) |
Add links to imprint and privacy policy
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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; |