summaryrefslogtreecommitdiff
path: root/templates/_history_months.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-10-11 21:08:22 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-10-11 21:08:22 +0200
commite61550f751feb132aa1a51cd860837d753e9dcd7 (patch)
treef51e43d601da2293d5e4fff78aeae163935a0bc8 /templates/_history_months.html.ep
parent8abb8206ceee179e474e80525c29b7f40585abe5 (diff)
Move remaining journeys queries to journeys model class
Diffstat (limited to 'templates/_history_months.html.ep')
-rw-r--r--templates/_history_months.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_history_months.html.ep b/templates/_history_months.html.ep
index 6a83d74..a707943 100644
--- a/templates/_history_months.html.ep
+++ b/templates/_history_months.html.ep
@@ -1,7 +1,7 @@
<div class="row">
<div class="col s12">
<ul class="pagination">
- % for my $month (history_months()) {
+ % for my $month (journeys->get_months(uid => current_user->{id})) {
% my $link_to = $month->[0];
% my $text = $month->[1];
% my $class = $link_to eq $current ? 'active' : 'waves-effect';