Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Added a new URL for the log nutrition plan

Christopher O'Connell62011a9ce11d
diff --git a/wger/nutrition/urls.py b/wger/nutrition/urls.py
index aafac4454..f198722c2 100644
--- a/wger/nutrition/urls.py
+++ b/wger/nutrition/urls.py
@@ -200,6 +200,9 @@ patterns_diary = [
url(r'^log-meal/(?P<meal_pk>\d+)$',
log.log_meal,
name='log_meal'),
+ url(r'^log-plan/(?P<plan_pk>\d+)$',
+ log.log_plan,
+ name='log_plan')
]