Why it registers only one set of routes? #293
Replies: 1 comment
-
Never mind I fixed it. It should have been following(posting in case someone else makes this mistake): .service(web::scope(apiv1).configure(users::routes::init)
.configure(tags::routes::init)
.configure(votes::routes::init)
.configure(questions::routes::init)) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have following in my main.rs
But it registers only first set of services from
users::routes::init
. How can I make it register all the routes?Beta Was this translation helpful? Give feedback.
All reactions