Browse Source

Merge pull request #801 from dlabs88/patch-1

Typo in the docs Auth:usage
Dayle Rees 12 years ago
parent
commit
5a1c1bf82c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/documentation/auth/usage.md

+ 1 - 1
laravel/documentation/auth/usage.md

@@ -63,7 +63,7 @@ It is common to limit access to certain routes only to logged in users. In Larav
 
 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**.