Skip to content

Commit

Permalink
Merge pull request #67 from BlueFreakLP/master
Browse files Browse the repository at this point in the history
corrected spelling
  • Loading branch information
vinicius73 committed Sep 12, 2015
2 parents a720f86 + 90b6c80 commit 5f6b7fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Route::get('foo', ['middleware' => ['auth', 'needsPermission:user.index'], funct
With this syntax it's also possible to use the middlewaren within your controllers.

```php
$this->middeware('needsPermission:user.index');
$this->middleware('needsPermission:user.index');
```

You can pass an array of permissions to check on.
Expand Down Expand Up @@ -284,7 +284,7 @@ Route::get('foo', ['middleware' => ['auth', 'needsRole:admin'], function() {
With this syntax it's also possible to use the middlewaren within your controllers.

```php
$this->middeware('needsRole:admin');
$this->middleware('needsRole:admin');
```

You can pass an array of permissions to check on.
Expand Down

0 comments on commit 5f6b7fa

Please sign in to comment.