summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl9
1 files changed, 7 insertions, 2 deletions
diff --git a/index.pl b/index.pl
index 2782520..4efa602 100644
--- a/index.pl
+++ b/index.pl
@@ -401,6 +401,7 @@ get '/all' => sub {
$self->render(
'main',
num_departures => $num_departures,
+ version => $VERSION,
);
return;
};
@@ -435,7 +436,7 @@ get '/bar' => sub {
$self->param( yformat => $args{y}{$ysource}{yformat} );
}
- $self->render('bargraph');
+ $self->render( 'bargraph', version => $VERSION );
return;
};
@@ -473,7 +474,11 @@ get '/top' => sub {
]
} @argsort;
- $self->render( 'toplist', toplist => \@toplist );
+ $self->render(
+ 'toplist',
+ toplist => \@toplist,
+ version => $VERSION
+ );
return;
};