mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Add rel_next_prev_link_tags to README
This commit is contained in:
parent
e4dbdd4721
commit
37aa154e00
1 changed files with 6 additions and 0 deletions
|
@ -179,6 +179,12 @@ Run the following generator command, then edit the generated file.
|
|||
<%= page_entries_info @users %>
|
||||
This renders a helpful message with numbers of displayed vs. total entries.
|
||||
|
||||
* the +rel_next_prev_link_tags+ helper method
|
||||
|
||||
<%= rel_next_prev_link_tags @users %>
|
||||
This renders the rel next and prev link tags for the head.
|
||||
|
||||
|
||||
=== I18n and labels
|
||||
|
||||
The default labels for 'first', 'last', 'previous', '...' and 'next' are stored in the I18n yaml inside the engine, and rendered through I18n API. You can switch the label value per I18n.locale for your internationalized application.
|
||||
|
|
Loading…
Add table
Reference in a new issue