diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/struct_router.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |