fix for detail page
This commit is contained in:
parent
4cd716175b
commit
dcacb2b04c
@ -113,6 +113,6 @@ def staff_detail(id_):
|
|||||||
"This page intentionally left blank. (No really! This is an intentional error for demonstration purposes.)",
|
"This page intentionally left blank. (No really! This is an intentional error for demonstration purposes.)",
|
||||||
)
|
)
|
||||||
if employee := employees().get(id_):
|
if employee := employees().get(id_):
|
||||||
return render_template("staff_detail.html", employee=employee)
|
return render_template(template, employee=employee)
|
||||||
else:
|
else:
|
||||||
abort(404)
|
abort(404)
|
||||||
|
Loading…
Reference in New Issue
Block a user