summaryrefslogtreecommitdiff
path: root/app/routes.py
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonail.com>2022-04-06 19:11:30 -0500
committerstilbruch <stilbruch@protonail.com>2022-04-06 19:11:30 -0500
commit05d7b80e092f9a3699fedfb08b85812d57cef0e8 (patch)
treec431ed2797d437fc910a7f0f8bbec107394d8576 /app/routes.py
parent0ff4b0d4fdbadef3d1dcc5320e28d2026fd68a65 (diff)
downloadStrengthy-05d7b80e092f9a3699fedfb08b85812d57cef0e8.tar.xz
Strengthy-05d7b80e092f9a3699fedfb08b85812d57cef0e8.zip
Start record workout
Diffstat (limited to 'app/routes.py')
-rw-r--r--app/routes.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/routes.py b/app/routes.py
index 17d8f4e..7ee3986 100644
--- a/app/routes.py
+++ b/app/routes.py
@@ -111,3 +111,8 @@ def editWorkout():
form.exercises.append_entry(exercise)
return render_template('workout/create.html', form=form, title=f'Edit Workout "{workout.name}"')
+
+@app.route("/workout/record", methods=['GET'])
+@login_required
+def recordWorkout():
+ return render_template('workout/record.html')