1
0
Fork 0
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:
Dominic 2020-04-05 23:17:53 +02:00
parent 212fca738b
commit e0a1505d13
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -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");
}));
}
```