mirror of
https://github.com/actix/actix-website
synced 2025-01-22 16:15:56 +01:00
Merge pull request #52 from rhencke/patch-1
Small grammar fix to url-dispatch.md
This commit is contained in:
commit
bfff012b6a
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user