summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-07-14 21:29:52 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-07-14 21:29:52 +0200
commitb12b5a821b68b98aad646f1931c6c9775759952c (patch)
tree9a1f6dce1686fa9a933ba91796004ff90c4cddfd /lib/Travelynx/Controller
parentb08b0fb921e7c5dc9afada0cd873b0cf980bd429 (diff)
Show departures of all linked stations
Not well-tested yet, deployment will have to wait a bit. Issue #15
Diffstat (limited to 'lib/Travelynx/Controller')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index 59991a8..ca29594 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -338,7 +338,7 @@ sub station {
my $station = $self->stash('station');
my $train = $self->param('train');
- my $status = $self->get_departures( $station, 120, 30 );
+ my $status = $self->get_departures( $station, 120, 30, 1 );
if ( $status->{errstr} ) {
$self->render(