fix for detail page

This commit is contained in:
James Turk 2023-06-05 21:59:41 -05:00
parent 4cd716175b
commit dcacb2b04c

View File

@ -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)