Skip to content

Commit

Permalink
Merge 1f18e41 into 81f2ce4
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebronner committed Jun 18, 2016
2 parents 81f2ce4 + 1f18e41 commit 99c6989
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -38,19 +38,19 @@ The following will apply all default profiles to the `gallery` route.
``` php
// within app/Http/routes.php

Route::get('gallery', ['middleware' => 'secure.content', function () {
Route::get('gallery', ['middleware' => 'secure.content'], function () {
return 'pictures!';
}]);
});
```

The following will apply all default profiles and a specific `flickr` profile to the `gallery` route.

``` php
// within app/Http/routes.php

Route::get('gallery', ['middleware' => 'secure.content:flickr', function () {
Route::get('gallery', ['middleware' => 'secure.content:flickr'], function () {
return 'pictures!';
}]);
});
```


Expand Down

0 comments on commit 99c6989

Please sign in to comment.