summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Traveling.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-27 21:46:52 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-27 21:46:52 +0100
commiteb929811b227790553265cdd4125cc17b4c7f1a6 (patch)
treeaa3017b4c6d57153ab771da76d20ba128f4ba088 /lib/Travelynx/Controller/Traveling.pm
parent343e9ef20cf743005fe3224af9652c3fa6874b90 (diff)
add per-month links to history0.09
Diffstat (limited to 'lib/Travelynx/Controller/Traveling.pm')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index f409b44..3f5a181 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -300,7 +300,8 @@ sub monthly_history {
template => 'history',
journeys => [@journeys],
year => $year,
- month => $months[ $month - 1 ],
+ month => $month,
+ month_name => $months[ $month - 1 ],
statistics => $stats
}
);