mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 04:52:28 +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.
|
/// Our main method.
|
||||||
fn main() {
|
fn main() {
|
||||||
gotham::start("127.0.0.1:8080", build_simple_router(|route| {
|
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