diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/DBInfoscreen.pm | 2 | ||||
-rw-r--r-- | lib/DBInfoscreen/Controller/Static.pm | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm index 422a25d..548fce2 100644 --- a/lib/DBInfoscreen.pm +++ b/lib/DBInfoscreen.pm @@ -218,6 +218,8 @@ sub startup { $r->post('/_geolocation')->to('stationboard#stations_by_coordinates'); + $r->get('/_about')->to('static#about'); + $r->get('/_impressum')->to('static#imprint'); $r->get('/_wr/:train/:departure')->to('wagenreihung#wagenreihung'); diff --git a/lib/DBInfoscreen/Controller/Static.pm b/lib/DBInfoscreen/Controller/Static.pm index 434facd..ba2cd89 100644 --- a/lib/DBInfoscreen/Controller/Static.pm +++ b/lib/DBInfoscreen/Controller/Static.pm @@ -43,6 +43,12 @@ sub geolocation { ); } +sub about { + my ($self) = @_; + + $self->render( 'about', hide_opts => 1 ); +} + sub privacy { my ($self) = @_; |