aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-05-04 07:59:50 +0000
committerFuwn <[email protected]>2023-05-04 07:59:50 +0000
commit870ae2237e494a275f8552707084559b6abff376 (patch)
treef9676cfad7e2346355dde3917f8d6a9a7870cd25 /examples
parentdeps(rossweisse): pin to 0.0.0 (diff)
downloadwindmark-870ae2237e494a275f8552707084559b6abff376.tar.xz
windmark-870ae2237e494a275f8552707084559b6abff376.zip
feat(methods): special index handling
Diffstat (limited to 'examples')
-rw-r--r--examples/struct_router.rs2
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 {