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 | 870ae2237e494a275f8552707084559b6abff376 (patch) | |
| tree | f9676cfad7e2346355dde3917f8d6a9a7870cd25 /examples | |
| parent | deps(rossweisse): pin to 0.0.0 (diff) | |
| download | windmark-870ae2237e494a275f8552707084559b6abff376.tar.xz windmark-870ae2237e494a275f8552707084559b6abff376.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 { |