Closed ganeshmahajan1985 closed 4 years ago
Can you give a concrete example of what you mean? A link to the documentation ?
Example -
fun Routing.rolesApi(roleService:RoleService) {
route(path="/roles") {
-----
}
}
install(Routing){
--------
rolesApi(roleService)
-------
}
ah yes, i just pushed a modification that allows you to do this:
fun Routing.rolesApi(roleService: RoleService) {
apiRouting {
route(path="/roles") {
}
}
}
Thanks! Its working now.
This dosen't support routes moduling ?