Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
ukeloop authored Mar 20, 2024
1 parent 82cad73 commit cadba7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ You can use the middleware `impersonate.protect` to protect your routes against
This middleware can be useful when you want to protect specific pages like users subscriptions, users credit cards, ...

```php
Router::get('/my-credit-card', function() {
Route::get('/my-credit-card', function() {
echo "Can't be accessed by an impersonator";
})->middleware('impersonate.protect');
```
Expand Down

0 comments on commit cadba7e

Please sign in to comment.