Skip to content

Commit b4108dc

Browse files
committed
feat: [torrust#658] new API endpoint for listing user profiles
1 parent 185e17c commit b4108dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/web/api/server/v1/routes.rs

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ pub fn router(app_data: Arc<AppData>) -> Router {
3333
let v1_api_routes = Router::new()
3434
.route("/", get(redirect_to_about))
3535
.nest("/user", user::routes::router(app_data.clone()))
36+
.nest("/users", user::routes::router_for_multiple_resources(app_data.clone()))
3637
.nest("/about", about::routes::router(app_data.clone()))
3738
.nest("/category", category::routes::router(app_data.clone()))
3839
.nest("/tag", tag::routes::router_for_single_resources(app_data.clone()))

0 commit comments

Comments
 (0)