summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-07-28 14:04:27 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-07-28 14:04:27 +0200
commit03f11b010175aade7281e97b7b88eae201f88582 (patch)
treecfc725eff79395a302bdd93727ad3d24a6550e54 /index.pl
parent8880e2b30e3f35ca2013164516d187c5954dc502 (diff)
perltidy
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl13
1 files 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' );