From 7a6bea3c46e254f0ce80f01032bb396f7e5fd67d Mon Sep 17 00:00:00 2001 From: philipp Date: Tue, 5 Mar 2024 09:35:08 +0100 Subject: [PATCH] fix ci (#245) Reviewed-on: https://git.hofer.link/Ruderverein-Donau-Linz/rowt/pulls/245 --- src/tera/log.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tera/log.rs b/src/tera/log.rs index e2dca51..3ff330b 100644 --- a/src/tera/log.rs +++ b/src/tera/log.rs @@ -86,7 +86,7 @@ async fn index( Template::render("log", context.into_json()) } -#[get("/show", rank = 2)] +#[get("/show", rank = 3)] async fn show(db: &State, user: DonauLinzUser) -> Template { let logs = Logbook::completed(db).await; @@ -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;