Merge branch 'master' of github.com:laravel/laravel
This commit is contained in:
commit
c92578b217
|
@ -63,7 +63,7 @@ ## Protecting Routes
|
|||
|
||||
To protect a route, simply attach the **auth** filter:
|
||||
|
||||
Route::get('admin', array('before' => 'auth', function() {});
|
||||
Route::get('admin', array('before' => 'auth', function() {}));
|
||||
|
||||
> **Note:** You are free to edit the **auth** filter however you like. A default implementation is located in **application/routes.php**.
|
||||
|
||||
|
|
Loading…
Reference in New Issue