summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-03-29 12:01:52 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-03-29 12:02:49 +0200
commit160651f0bb465074b3b6ff1a0faa613da5586fb1 (patch)
tree75ebe8044c4d1b218c1d2ca59f87f0a8774c2d74 /lib/DBInfoscreen
parent5b4bead3e3d03b06d3ab05d17100903bf716b578 (diff)
add train search (beta, not linked yet)3.11.1
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r--lib/DBInfoscreen/Controller/Static.pm18
1 files changed, 14 insertions, 4 deletions
diff --git a/lib/DBInfoscreen/Controller/Static.pm b/lib/DBInfoscreen/Controller/Static.pm
index c25c6c5..16eeb9a 100644
--- a/lib/DBInfoscreen/Controller/Static.pm
+++ b/lib/DBInfoscreen/Controller/Static.pm
@@ -39,13 +39,23 @@ sub redirect {
}
}
-sub geolocation {
+sub geostop {
my ($self) = @_;
$self->render(
- 'geolocation',
- with_geolocation => 1,
- hide_opts => 1
+ 'geostop',
+ with_geostop => 1,
+ hide_opts => 1
+ );
+}
+
+sub geotrain {
+ my ($self) = @_;
+
+ $self->render(
+ 'geotrain',
+ with_geotrain => 1,
+ hide_opts => 1
);
}