diff --git a/src/controllers/users_controller.rs b/src/controllers/users_controller.rs index 56b4026..827dde7 100644 --- a/src/controllers/users_controller.rs +++ b/src/controllers/users_controller.rs @@ -59,7 +59,7 @@ pub async fn show_user<'r>( } } -#[get("/users/keys/")] +#[get("/users//keys", rank = 1)] pub async fn show_ssh_key<'r>( db: DbConn, username: String,