aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-05-04 08:00:26 +0000
committerFuwn <[email protected]>2023-05-04 08:00:26 +0000
commit3428ae175159cb180cf1f1caf613d376a3970a46 (patch)
treeb8f32e5f883e5a55db735b01b67149139ad27ae2
parentfeat(methods): special index handling (diff)
downloadwindmark-3428ae175159cb180cf1f1caf613d376a3970a46.tar.xz
windmark-3428ae175159cb180cf1f1caf613d376a3970a46.zip
docs(readme): add index handling example
-rw-r--r--rossweisse/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/rossweisse/README.md b/rossweisse/README.md
index be7a4b5..cbcf53a 100644
--- a/rossweisse/README.md
+++ b/rossweisse/README.md
@@ -18,7 +18,7 @@ struct Router {
#[rossweisse::router]
impl Router {
- #[route]
+ #[route(index)]
pub fn index(
_context: windmark::context::RouteContext,
) -> windmark::Response {