Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add "table" view to the routines

Roland Geider6635e7e1e40c
diff --git a/wger/manager/urls.py b/wger/manager/urls.py
index 9e992852a..969527098 100644
--- a/wger/manager/urls.py
+++ b/wger/manager/urls.py
@@ -27,7 +27,6 @@ from wger.manager.views import (
routine,
)
-
# sub patterns for templates
patterns_templates = [
path(
@@ -93,6 +92,11 @@ patterns_routine = [
ReactView.as_view(login_required=True),
name='view',
),
+ path(
+ '<int:pk>/table',
+ ReactView.as_view(login_required=True),
+ name='table',
+ ),
path(
'<int:pk>/copy',
routine.copy_routine,