Browse Source

Merge pull request #1591 from eddiemonge/patch-1

Update laravel/documentation/requests.md
Dayle Rees 12 years ago
parent
commit
23d23dd07c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/documentation/requests.md

+ 2 - 2
laravel/documentation/requests.md

@@ -35,7 +35,7 @@ Sometimes you may need to determine if the current URI is a given string, or beg
 
 #### Determine if the current URI begins with "docs/":
 
-	if URI::is('docs/*'))
+	if (URI::is('docs/*'))
 	{
 		// The current URI begins with "docs/"!
 	}
@@ -74,4 +74,4 @@ Sometimes you may need to determine if the current URI is a given string, or beg
 	if (Request::cli())
 	{
 		// This request came from the CLI!
-	}
+	}