diff --git a/examples/demo/src/controllers/auth.rs b/examples/demo/src/controllers/auth.rs index a691bc932..f50ede9bc 100644 --- a/examples/demo/src/controllers/auth.rs +++ b/examples/demo/src/controllers/auth.rs @@ -163,10 +163,5 @@ pub fn routes() -> Routes { } pub fn api_routes() -> OpenApiRouter { - OpenApiRouter::new() - .routes(routes!(register)) - .routes(routes!(verify)) - .routes(routes!(login)) - .routes(routes!(forgot)) - .routes(routes!(reset)) + OpenApiRouter::new().routes(routes!(register, verify, login, forgot, reset)) }