From dcacb2b04c6807f845168d8e0648a02de1af483d Mon Sep 17 00:00:00 2001 From: James Turk Date: Mon, 5 Jun 2023 21:59:41 -0500 Subject: [PATCH] fix for detail page --- scrapple/yoyodyne.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapple/yoyodyne.py b/scrapple/yoyodyne.py index 2246307..273310d 100644 --- a/scrapple/yoyodyne.py +++ b/scrapple/yoyodyne.py @@ -113,6 +113,6 @@ def staff_detail(id_): "This page intentionally left blank. (No really! This is an intentional error for demonstration purposes.)", ) if employee := employees().get(id_): - return render_template("staff_detail.html", employee=employee) + return render_template(template, employee=employee) else: abort(404)