Skip to content

Commit

Permalink
Add Request::ajax() to requests.md
Browse files Browse the repository at this point in the history
Copy the `Request::ajax()` section as is from 4.2 docs.
  • Loading branch information
AmmarCodes committed May 10, 2015
1 parent b5150c6 commit b2628e8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,14 @@ The `Request` class provides many methods for examining the HTTP request for you
#### Retrieving The Request URI

$uri = Request::path();

#### Determine If The Request Is Using AJAX

if (Request::ajax())
{
//
}


#### Retrieving The Request Method

Expand Down

0 comments on commit b2628e8

Please sign in to comment.