Updated examples and readme for `path_to_prev_page` and `path_to_next_page`
This commit is contained in:
parent
bb3631aa83
commit
cbf1e35ecf
|
@ -203,6 +203,15 @@ Run the following generator command, then edit the generated file.
|
|||
<%= rel_next_prev_link_tags @users %>
|
||||
This renders the rel next and prev link tags for the head.
|
||||
|
||||
* the +path_to_next_page+ helper method
|
||||
|
||||
<%= path_to_next_page @users %>
|
||||
This returns the server relative path to the next page.
|
||||
|
||||
* the +path_to_prev_page+ helper method
|
||||
|
||||
<%= path_to_prev_page @users %>
|
||||
This returns the server relative path to the previous page.
|
||||
|
||||
=== I18n and labels
|
||||
|
||||
|
|
Loading…
Reference in New Issue