Skip to content

Commit 7a37e88

Browse files
Andrew WilcoxAndrew Wilcox
authored andcommitted
Fix typo in README.md
The URL is '/page/2', not '/pjax/2'.
1 parent 980f635 commit 7a37e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ We do this by telling pjax to listen on `a` tags and use `#pjax-container` as th
5858
$(document).pjax('a', '#pjax-container')
5959
```
6060

61-
Now when someone in a pjax-compatible browser clicks "next page" the content of `#pjax-container` will be replaced with the body of `/pjax/2`.
61+
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

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

0 commit comments

Comments
 (0)