mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 06:54:46 +00:00
fix doc
This commit is contained in:
parent
1d1682a03d
commit
212fca738b
2 changed files with 3 additions and 3 deletions
|
@ -146,7 +146,7 @@ fn main() {
|
|||
);
|
||||
let (chain, pipelines) = single_pipeline(new_pipeline().add(auth).build());
|
||||
gotham::start("127.0.0.1:8080", build_router(chain, pipelines, |route| {
|
||||
route.resource::<AuthResource, _>("auth");
|
||||
route.resource::<AuthResource>("auth");
|
||||
}));
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue