From 03f11b010175aade7281e97b7b88eae201f88582 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 28 Jul 2018 14:04:27 +0200 Subject: perltidy --- index.pl | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/index.pl b/index.pl index ee559f4..cec3c27 100644 --- a/index.pl +++ b/index.pl @@ -362,7 +362,8 @@ sub handle_request { if ( not $station ) { if ( $self->session('has_data') ) { for my $param ( - qw(mode hidelowdelay hide_opts show_realtime admode no_related dark detailed)) + qw(mode hidelowdelay hide_opts show_realtime admode no_related dark detailed) + ) { $self->param( $param => $self->session($param) ); } @@ -959,10 +960,7 @@ get '/_auto' => sub { get '/_datenschutz' => sub { my $self = shift; - $self->render( - 'privacy', - hide_opts => 1 - ); + $self->render( 'privacy', hide_opts => 1 ); }; post '/_geolocation' => sub { @@ -997,10 +995,7 @@ post '/_geolocation' => sub { get '/_impressum' => sub { my $self = shift; - $self->render( - 'imprint', - hide_opts => 1 - ); + $self->render( 'imprint', hide_opts => 1 ); }; app->defaults( layout => 'default' ); -- cgit v1.2.3