Tidy up
This commit is contained in:
parent
dc36f05ee7
commit
48b3d82518
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ App::post('/v1/storage/buckets/:bucketId/files')
|
||||||
Groups array is used to group one or more routes with one or more hooks functionality.
|
Groups array is used to group one or more routes with one or more hooks functionality.
|
||||||
```php
|
```php
|
||||||
App::post('/v1/storage/buckets/:bucketId/files')
|
App::post('/v1/storage/buckets/:bucketId/files')
|
||||||
->groups(['api'])
|
->groups(['api'])
|
||||||
```
|
```
|
||||||
In the above example groups() is used to define the current route as part of the routes that shares a common init middleware hook.
|
In the above example groups() is used to define the current route as part of the routes that shares a common init middleware hook.
|
||||||
```php
|
```php
|
||||||
|
|
Loading…
Reference in a new issue