summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-10-12 13:33:20 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-10-12 13:33:20 +0200
commitfa9a4d47abcb4f82b39c33e97d333cdc9e737aec (patch)
treef0ab08805886209dd6d7becfbc2cc7c2af625457
parentdfe612b078064a011afb51847d77fa68f234e479 (diff)
infoscreen: URA adjustments yet again
-rw-r--r--templates/infoscreen.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep
index fac78d4..af567b1 100644
--- a/templates/infoscreen.html.ep
+++ b/templates/infoscreen.html.ep
@@ -131,7 +131,7 @@
</span> <!-- moreinfo -->
<span class="route">
% if ($departure->can('route_interesting') and $departure->route_interesting) {
-%= join(' - ', map { ref($_) ? $_->name_suf : $_ } ($departure->route_interesting));
+%= join(' - ', map { $_->can('name_suf') ? $_->name_suf : $_->name } ($departure->route_interesting));
% }
% elsif ($departure->can('lineref') and $departure->lineref) {
%= $departure->lineref->route