From 870ae2237e494a275f8552707084559b6abff376 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 4 May 2023 07:59:50 +0000 Subject: feat(methods): special index handling --- examples/struct_router.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/struct_router.rs b/examples/struct_router.rs index bf559ab..a636f7d 100644 --- a/examples/struct_router.rs +++ b/examples/struct_router.rs @@ -26,7 +26,7 @@ struct Router { #[rossweisse::router] impl Router { - #[route] + #[route(index)] pub fn index( _context: windmark::context::RouteContext, ) -> windmark::Response { -- cgit v1.2.3