summaryrefslogtreecommitdiff
path: root/templates/profile.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/profile.html.ep')
-rw-r--r--templates/profile.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/profile.html.ep b/templates/profile.html.ep
index 1755303..6a8d67d 100644
--- a/templates/profile.html.ep
+++ b/templates/profile.html.ep
@@ -23,7 +23,7 @@
<h2>Letzte Fahrten von <%= $name %></h1>
</div>
</div>
- %= include '_history_trains', date_format => '%d.%m.%Y', link_prefix => "/p/${name}/j/", journeys => [journeys->get(uid => $uid, limit => 10, with_datetime => 1)];
+ %= include '_history_trains', date_format => '%d.%m.%Y', link_prefix => "/p/${name}/j/", journeys => $journeys;
% }
%= include '_footer', version => stash('version')