Loading lib/DBInfoscreen/Controller/Stationboard.pm +4 −4 Original line number Diff line number Diff line Loading @@ -213,6 +213,10 @@ sub handle_request { $self->stash( title => 'DBF' ); $self->stash( version => $dbf_version ); if ( not( $template ~~ [qw[app infoscreen json multi single text]] ) ) { $template = 'app'; } if ( defined $station and $station =~ s{ [.] txt $ }{}x ) { $template = 'text'; $self->param( station => $station ); Loading Loading @@ -240,10 +244,6 @@ sub handle_request { $template = 'json'; } if ( not( $template ~~ [qw[app infoscreen json multi single text]] ) ) { $template = 'app'; } $self->param( mode => $template ); if ( not $station ) { Loading Loading
lib/DBInfoscreen/Controller/Stationboard.pm +4 −4 Original line number Diff line number Diff line Loading @@ -213,6 +213,10 @@ sub handle_request { $self->stash( title => 'DBF' ); $self->stash( version => $dbf_version ); if ( not( $template ~~ [qw[app infoscreen json multi single text]] ) ) { $template = 'app'; } if ( defined $station and $station =~ s{ [.] txt $ }{}x ) { $template = 'text'; $self->param( station => $station ); Loading Loading @@ -240,10 +244,6 @@ sub handle_request { $template = 'json'; } if ( not( $template ~~ [qw[app infoscreen json multi single text]] ) ) { $template = 'app'; } $self->param( mode => $template ); if ( not $station ) { Loading