summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-01-05 10:02:54 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-01-05 10:02:54 +0100
commit7e825ba8a3480773e42823756355ff5e2367586c (patch)
tree34ffe76443375f4cb45e8e78abfd8421ae8baf5f /lib/DBInfoscreen/Controller
parent75e54f73e5d9e935a9355c427422697bfd97d6f1 (diff)
map: simplify error handling
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-rw-r--r--lib/DBInfoscreen/Controller/Map.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Map.pm b/lib/DBInfoscreen/Controller/Map.pm
index 6337432..01520b7 100644
--- a/lib/DBInfoscreen/Controller/Map.pm
+++ b/lib/DBInfoscreen/Controller/Map.pm
@@ -123,8 +123,10 @@ sub route {
my ($err) = @_;
$self->render(
'route_map',
- title => "Fehler",
+ title => "DBF",
hide_opts => 1,
+ with_map => 1,
+ error => $err,
);
}