From af8e2832a0f03c52f78a7f4d8f9740ec31e661e2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 28 Apr 2018 07:31:08 +0200 Subject: Add links to imprint and privacy policy --- index.pl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'index.pl') diff --git a/index.pl b/index.pl index 4092ad4..1cead7c 100644 --- a/index.pl +++ b/index.pl @@ -956,6 +956,15 @@ get '/_auto' => sub { ); }; +get '/_datenschutz' => sub { + my $self = shift; + + $self->render( + 'privacy', + hide_opts => 1 + ); +}; + post '/_geolocation' => sub { my $self = shift; @@ -985,6 +994,15 @@ post '/_geolocation' => sub { } }; +get '/_impressum' => sub { + my $self = shift; + + $self->render( + 'imprint', + hide_opts => 1 + ); +}; + app->defaults( layout => 'default' ); app->sessions->default_expiration( 3600 * 24 * 28 ); -- cgit v1.2.3