diff --git a/src/tera/log.rs b/src/tera/log.rs index e2dca51..e5fba0c 100644 --- a/src/tera/log.rs +++ b/src/tera/log.rs @@ -96,7 +96,7 @@ async fn show(db: &State, user: DonauLinzUser) -> Template { ) } -#[get("/show?")] +#[get("/show?", rank = 2)] async fn show_for_year(db: &State, user: AdminUser, year: i32) -> Template { let logs = Logbook::completed_in_year(db, year).await;