diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-04-28 07:31:08 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-04-28 07:34:03 +0200 |
commit | af8e2832a0f03c52f78a7f4d8f9740ec31e661e2 (patch) | |
tree | b484e6ee1ae6bbba93c5348f5a457a423f6ea5bf /index.pl | |
parent | 37fa6e58770adda23402e34adeb4561ba71c0968 (diff) |
Add links to imprint and privacy policy
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 ); |