1
0
mirror of https://github.com/actix/actix-website synced 2024-11-23 16:31:08 +01:00

Small grammar fix to url-dispatch.md

Also, this is good stuff. 👍
This commit is contained in:
Robert Hencke 2018-10-11 17:28:26 -04:00 committed by GitHub
parent bf8faa455d
commit 59ed9c2b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ for the same path, in that case, multiple routes register for the same resource
{{< include-example example="url-dispatch" section="main" >}}
While *App::route()* provides simple way of registering routes, to access
complete resource configuration, different method has to be used.
complete resource configuration, a different method has to be used.
The [*App::resource()*](../../actix-web/actix_web/struct.App.html#method.resource) method
adds a single resource to application routing table. This method accepts a *path pattern*
and a resource configuration function.