pub fn admin_page(
session: Option<AdminSession>,
return_to: ReturnTo,
pool: &State<DbPool>,
) -> Result<Template, Redirect>Expand description
The admin dashboard (GET /admin): the consolidated home for admin actions. Signed-in admins
only — an unauthenticated browser is redirected to the sign-in page (Err(Redirect)).