diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-08-16 21:20:23 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-08-16 21:20:23 +0200 |
commit | 47b957361e84c826bfee0fa4e45db9de9e5c0182 (patch) | |
tree | 1ae4234091fbb321df7dafea395d962963ca2d96 /templates/landingpage.html.ep | |
parent | d9624ee30882a66e5304a2cca0591a77fc9445f1 (diff) |
Move most journey code to newly introduced Journey model
Diffstat (limited to 'templates/landingpage.html.ep')
-rw-r--r-- | templates/landingpage.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index ce817e7..0534c71 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -70,7 +70,7 @@ </div> </div> <h1>Letzte Fahrten</h1> - %= include '_history_trains', date_format => '%d.%m', journeys => [get_user_travels(limit => 5, with_datetime => 1)]; + %= include '_history_trains', date_format => '%d.%m', journeys => [journeys->get(uid => current_user()->{id}, limit => 5, with_datetime => 1)]; % } % else { <div class="row"> |