mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-22 20:52:27 +00:00
update readme
This commit is contained in:
parent
212fca738b
commit
e0a1505d13
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ fn read_all(_state: &mut State) -> Success<Vec<User>> {
|
|||
/// Our main method.
|
||||
fn main() {
|
||||
gotham::start("127.0.0.1:8080", build_simple_router(|route| {
|
||||
route.resource::<UsersResource, _>("users");
|
||||
route.resource::<UsersResource>("users");
|
||||
}));
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue