Skip to content

Instance Method

register(collection:)

Registers all of the routes in the group to this router.
func register(collection: any RouteCollection) throws

Parameters

collection

RouteCollection to register.