Skip to content

Commit d3aa7a1

Browse files
committed
Merge pull request #294 from tylerwolff/master
Update README.md with some text fixes
2 parents 3bccb4b + 27952fb commit d3aa7a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ $(document).pjax('a', '#pjax-container')
6060

6161
Now when someone in a pjax-compatible browser clicks "next page" the content of `#pjax-container` will be replaced with the body of `/page/2`.
6262

63-
Magic! Almost. You still need to configure you server to look for pjax requests then send back pjax-specific content.
63+
Magic! Almost. You still need to configure your server to look for pjax requests and send back pjax-specific content.
6464

65-
The pjax ajax request sends an `X-PJAX` header so in this example (and in most cases) we return a page without a layout to any requests with that header.
65+
The pjax ajax request sends an `X-PJAX` header so in this example (and in most cases) we want to return just the content of the page without any layout for any requests with that header.
6666

6767
Here's what it might look like in Rails:
6868

0 commit comments

Comments
 (0)