From cbf1e35ecfbe4bd107b7706350f399b23112f0ff Mon Sep 17 00:00:00 2001 From: neilang Date: Mon, 27 Apr 2015 18:56:51 +1000 Subject: [PATCH] Updated examples and readme for `path_to_prev_page` and `path_to_next_page` --- README.rdoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.rdoc b/README.rdoc index 5c7733c..b3a903a 100644 --- a/README.rdoc +++ b/README.rdoc @@ -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