backend: change order
This commit is contained in:
parent
8602142210
commit
9f42d387c4
1 changed files with 1 additions and 1 deletions
|
@ -9,8 +9,8 @@ pub fn config(cfg: &mut web::ServiceConfig) {
|
||||||
.get(UserController::list_users)
|
.get(UserController::list_users)
|
||||||
.post(UserController::create_user),
|
.post(UserController::create_user),
|
||||||
)
|
)
|
||||||
.service(web::resource("/users/{user_id}"))
|
|
||||||
.route("/users/me", web::get().to(UserController::get_current_user))
|
.route("/users/me", web::get().to(UserController::get_current_user))
|
||||||
|
.service(web::resource("/users/{user_id}"))
|
||||||
.service(
|
.service(
|
||||||
web::resource("/licenses")
|
web::resource("/licenses")
|
||||||
.get(LicenseController::list_groups)
|
.get(LicenseController::list_groups)
|
||||||
|
|
Loading…
Reference in a new issue