Skip to content

Commit b2d5022

Browse files
committed
feat: add mvc section for indexing
1 parent 23e03c8 commit b2d5022

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/docs/routing/middleware/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,13 @@ app()->get('/home', ['middleware' => 'logRequest', function () {
180180
```
181181

182182
Once the data is read using `request()->next()`, it is removed from the request object and cannot be accessed again during the request lifecycle.
183+
184+
## Middleware with MVC
185+
186+
We've crafted a specialized guide for routing in Leaf MVC. While it's similar to the base middleware in Leaf, it's more detailed and tailored for Leaf MVC.
187+
188+
<Button
189+
as="a"
190+
href="/docs/routing/middleware/mvc"
191+
class="!text-white bg-opacity-50 hover:bg-opacity-75 transition-colors duration-200 rounded-xl font-bold py-2 px-4 inline-flex"
192+
>Go to MVC Docs</Button>

0 commit comments

Comments
 (0)