From 06d7abc2d4b1137b2e4a9d40ba8d71cdb571272a Mon Sep 17 00:00:00 2001 From: dlabs88 Date: Tue, 12 Jun 2012 04:00:15 +0300 Subject: [PATCH] Route::get('admin', array('before' => 'auth', function() {})); forgot the last ) --- laravel/documentation/auth/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/documentation/auth/usage.md b/laravel/documentation/auth/usage.md index e02747a0..8a9a0650 100644 --- a/laravel/documentation/auth/usage.md +++ b/laravel/documentation/auth/usage.md @@ -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**.