diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-07-28 14:04:27 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-07-28 14:04:27 +0200 |
commit | 03f11b010175aade7281e97b7b88eae201f88582 (patch) | |
tree | cfc725eff79395a302bdd93727ad3d24a6550e54 /index.pl | |
parent | 8880e2b30e3f35ca2013164516d187c5954dc502 (diff) |
perltidy
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -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' ); |