Skip to content

Commit

Permalink
change to ranked route
Browse files Browse the repository at this point in the history
  • Loading branch information
xerbalind committed Jun 22, 2024
1 parent 35ce912 commit 1879704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/users_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub async fn show_user<'r>(
}
}

#[get("/users/keys/<username>")]
#[get("/users/<username>/keys", rank = 1)]
pub async fn show_ssh_key<'r>(
db: DbConn,
username: String,
Expand Down

0 comments on commit 1879704

Please sign in to comment.