Skip to content

Commit fa39c84

Browse files
committed
Merge branch 'master' of https://github.com/leafsphp/docs
2 parents e6721ad + f0394d6 commit fa39c84

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Leaf PHP Documentation
22

3-
Welcome to the official documentation for Leaf PHP, a PHP framework that helps you build simple yet powerful web applications and APIs. You can find the online version of this documentation at [leafphp.dev](https://beta.leafphp.dev).
3+
Welcome to the official documentation for Leaf PHP, a PHP framework that helps you build simple yet powerful web applications and APIs. You can find the online version of this documentation at [leafphp.dev](https://leafphp.dev).
44

55
## Contributing
66

77
If you find any issues with the documentation or have any suggestions, feel free to open an issue or a pull request here. This documentation is built using [VitePress](https://vitepress.dev/), a Vue-powered static site generator. The actual documentation content is written in Markdown and can be found in the `src/` directory.
88

9-
Be sure to read our [contribution guidelines](https://leafphp.dev/community/contributing/writing-guide.html) before contributing.
9+
Be sure to read our [contribution guidelines](https://leafphp.dev/community/guide.html#documentation) before contributing.
1010

1111
## Sponsoring Leaf
1212

src/docs/routing/route-groups.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ app()->group('/admin', ['middleware' => 'auth', function () {
5353
app()->get('/users', function () {
5454
echo 'admin users';
5555
});
56-
});
56+
}]);
5757
```
5858

5959
Or you can directly pass the middleware in like this:
@@ -71,7 +71,7 @@ app()->group('/user', ['middleware' => $middleware, function () {
7171
app()->get('/(\d+)', function ($id) {
7272
response()->markup("user $id");
7373
});
74-
});
74+
}]);
7575
```
7676

7777
## Subfolder Support

0 commit comments

Comments
 (0)