mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-05 13:57:39 +03:00
work on resource_path api
This commit is contained in:
parent
3de43c2a46
commit
d8b880e167
6 changed files with 82 additions and 35 deletions
|
@ -27,7 +27,7 @@ fn index(mut req: HttpRequest) -> Result<HttpResponse> {
|
|||
req.session().set("counter", 1)?;
|
||||
}
|
||||
|
||||
Ok(HttpResponse::Ok().into())
|
||||
Ok("Welcome!".into())
|
||||
}
|
||||
|
||||
/// async handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue