Skip to content

Commit 079f3ce

Browse files
committed
Fix Route and Path Parameters grammar
1 parent aaff6fe commit 079f3ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/concept/route.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Like Express, and Fastify.
1919

2020
You define route using method as a building block for your server.
2121

22-
By calling `.[method name](path, callback, hook?)`, you attach route to Elysia, and the library will handle the routing for you.
22+
By calling `.[method name](path, callback, hook?)`, you attach the route to Elysia, and the library will handle the routing for you.
2323

2424
For example:
2525
```typescript
@@ -55,7 +55,7 @@ new Elysia()
5555
## Path Parameters
5656
Path parameters can retrieve data from URL.
5757

58-
For example, getting a user id from path like many social media is when you need a path parameters.
58+
For example, getting a user id from path like many social media is when you may need path parameters.
5959

6060
```typescript
6161
new Elysia()

0 commit comments

Comments
 (0)