perltidy
This commit is contained in:
parent
40eb74887b
commit
7eedd5149f
4 changed files with 22 additions and 16 deletions
|
@ -8,25 +8,25 @@ use Mojo::Base 'Mojolicious::Controller';
|
|||
sub about {
|
||||
my ($self) = @_;
|
||||
|
||||
$self->render('about', title => 'Über travelynx');
|
||||
$self->render( 'about', title => 'Über travelynx' );
|
||||
}
|
||||
|
||||
sub changelog {
|
||||
my ($self) = @_;
|
||||
|
||||
$self->render('changelog', title => 'travelynx: Changelog');
|
||||
$self->render( 'changelog', title => 'travelynx: Changelog' );
|
||||
}
|
||||
|
||||
sub imprint {
|
||||
my ($self) = @_;
|
||||
|
||||
$self->render('imprint', title => 'travelynx: Impressum');
|
||||
$self->render( 'imprint', title => 'travelynx: Impressum' );
|
||||
}
|
||||
|
||||
sub legend {
|
||||
my ($self) = @_;
|
||||
|
||||
$self->render('legend', title => 'travelynx: Legende' );
|
||||
$self->render( 'legend', title => 'travelynx: Legende' );
|
||||
}
|
||||
|
||||
sub offline {
|
||||
|
|
|
@ -144,7 +144,7 @@ sub settings {
|
|||
$self->param( tweet => 1 );
|
||||
}
|
||||
|
||||
$self->stash ( title => 'travelynx × träwelling' );
|
||||
$self->stash( title => 'travelynx × träwelling' );
|
||||
$self->render(
|
||||
'traewelling',
|
||||
traewelling => $traewelling,
|
||||
|
|
|
@ -1185,7 +1185,10 @@ sub cancelled {
|
|||
sub history {
|
||||
my ($self) = @_;
|
||||
|
||||
$self->render( template => 'history', title => 'travelynx: History' );
|
||||
$self->render(
|
||||
template => 'history',
|
||||
title => 'travelynx: History'
|
||||
);
|
||||
}
|
||||
|
||||
sub commute {
|
||||
|
@ -1742,9 +1745,12 @@ sub journey_details {
|
|||
|
||||
$self->render(
|
||||
'journey',
|
||||
title => sprintf( 'travelynx: Fahrt %s %s %s am %s',
|
||||
$journey->{type}, $journey->{line} // '', $journey->{no},
|
||||
$journey->{sched_departure}->strftime('%d.%m.%Y um %H:%M') ),
|
||||
title => sprintf(
|
||||
'travelynx: Fahrt %s %s %s am %s',
|
||||
$journey->{type}, $journey->{line} // '',
|
||||
$journey->{no},
|
||||
$journey->{sched_departure}->strftime('%d.%m.%Y um %H:%M')
|
||||
),
|
||||
error => undef,
|
||||
journey => $journey,
|
||||
journey_visibility => $visibility,
|
||||
|
|
Loading…
Reference in a new issue