From 06fa7a5b7e1558a47f1a99afcd74ec2e0790de2d Mon Sep 17 00:00:00 2001 From: Daniel Coulbourne Date: Tue, 15 Aug 2017 00:14:42 -0400 Subject: [PATCH] Fix config example. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c2c1ffa6..c76cc9dd 100644 --- a/README.md +++ b/README.md @@ -76,10 +76,10 @@ If you do want to filter routes, we have provided two optional configuration set #### Example `config/ziggy.php` ```php ['home', 'api.*'], 'blacklist' => ['admin.*', 'vulnerabilities.*'], -] +]; ``` As shown in the example above, Ziggy the use of asterisks as wildcards in filters. `home` will only match the route named `home` whereas `api.*` will match any route whose name begins with `api.`, such as `api.posts.index` and `api.users.show`.