Add rel_next_prev_link_tags to README

This commit is contained in:
Cesar Andreu 2014-12-02 13:56:32 -08:00
parent e4dbdd4721
commit 37aa154e00
1 changed files with 6 additions and 0 deletions

View File

@ -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.