diff options
| author | Fuwn <[email protected]> | 2023-05-04 07:59:50 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-05-04 07:59:50 +0000 |
| commit | b92b2f3da3c75c08d310741aa86908667ce95088 (patch) | |
| tree | f9676cfad7e2346355dde3917f8d6a9a7870cd25 /examples | |
| parent | deps(rossweisse): pin to 0.0.0 (diff) | |
| download | windmark-b92b2f3da3c75c08d310741aa86908667ce95088.tar.xz windmark-b92b2f3da3c75c08d310741aa86908667ce95088.zip | |
feat(methods): special index handling
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 { |