README.rdoc in nether-0.0.3 vs README.rdoc in nether-0.0.4
- old
+ new
@@ -16,10 +16,10 @@
== Usage (will_paginate)
Endless page functionality is handled by a helper function that takes three arguments by default. The number of pages, the path to get more content and the css id of the dom object to render. There is also an optional fourth argument for specifying the dom object containing the content to be rendered.
To use the helper add the following to your view after the will paginate helper, replacing variables as necessary.
- <%= nether(@articles.total_pages, articles_path, "#content" %>
+ <%= nether(@articles.total_pages, articles_path, "#content") %>
You must also add a helper to the action handling the pagination. The helper takes the partial to render as an argument and an optional argument to delay rendering.
render_nether("articles/article")