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
commitb92b2f3da3c75c08d310741aa86908667ce95088 (patch)
treef9676cfad7e2346355dde3917f8d6a9a7870cd25 /examples
parentdeps(rossweisse): pin to 0.0.0 (diff)
downloadwindmark-b92b2f3da3c75c08d310741aa86908667ce95088.tar.xz
windmark-b92b2f3da3c75c08d310741aa86908667ce95088.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 {