Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add missing decorator
Roland Geider2e2aed562b30
diff --git a/wger/nutrition/views.py b/wger/nutrition/views.pyindex 6bfeecf6c..cccb1e885 100644--- a/wger/nutrition/views.py+++ b/wger/nutrition/views.py@@ -175,6 +175,7 @@ def copy(request, pk):return HttpResponseRedirect(reverse('wger.nutrition.views.view', kwargs={'id': plan.id}))+@login_requireddef export_pdf(request, id):'''Generates a PDF with the contents of a nutrition plan