From 8dd73ca07434da6572c517fe90e271f79c183b73 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 28 Oct 2021 18:08:29 +0200 Subject: remove geotrain feature (i.e., search trains, not stations, in the vicinity) it was a nice little experiment, but ultimately not fit for permanent use. --- lib/DBInfoscreen.pm | 1 - lib/DBInfoscreen/Controller/Static.pm | 10 ---------- 2 files changed, 11 deletions(-) (limited to 'lib') diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm index 12da336..ef3e0a0 100644 --- a/lib/DBInfoscreen.pm +++ b/lib/DBInfoscreen.pm @@ -357,7 +357,6 @@ sub startup { $r->get('/_auto')->to('static#geostop'); $r->get('/_autostop')->to('static#geostop'); - $r->get('/_autotrain')->to('static#geotrain'); $r->get('/_datenschutz')->to('static#privacy'); diff --git a/lib/DBInfoscreen/Controller/Static.pm b/lib/DBInfoscreen/Controller/Static.pm index 16eeb9a..e30b34f 100644 --- a/lib/DBInfoscreen/Controller/Static.pm +++ b/lib/DBInfoscreen/Controller/Static.pm @@ -49,16 +49,6 @@ sub geostop { ); } -sub geotrain { - my ($self) = @_; - - $self->render( - 'geotrain', - with_geotrain => 1, - hide_opts => 1 - ); -} - sub about { my ($self) = @_; -- cgit v1.2.3