<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>config/initializers/task_renderer.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -24,6 +24,10 @@ This demo app should serve as a way to easily identify where things are non-dry
 * Create a generator to make it easier to generate code in places where plugins can't help
 * See if any of the ideas generated are worthy of inclusion into will_paginate, and if so, add them in and suggest them to the authors
 
+== Secondary goals
+
+To demonstrate the use of all of the WillPaginate features, including styles, LinkRenderers etc...
+
 == Common issues and my solutions to them
 
 === 1: making sure links hook up correctly through all new/edit/destroy/back links
@@ -127,16 +131,16 @@ Install the demo app by cloning this repo - see above.
 * Write the routing dsl
 * Figure out how to have a global paginated_redirect that will redirect to either a model or a url, adding the page param if it is not already there
   
-  # with params[:page] == 4
-  paginated_redirect(Task) # =&gt; /tasks?page=4
-  paginated_redirect(Admin::Secret) # =&gt; /admin/secrets?page=4
-  paginated_redirect(admin_page_path(page)) # =&gt; /admin/pages/1?page=4
-  paginated_redirect(paginated_admin_page_path(page)) # =&gt; /admin/pages/1?page=4
-  paginated_redirect(paginated_admin_page_path(:id =&gt; page, :page =&gt; 6)) # =&gt; /admin/pages/1?page=6
-  paginated_redirect(task) # =&gt; if task is a Task, then /tasks/1?page=4
-  paginated_redirect(&quot;/pages&quot;) # =&gt; /pages/1?page=4
-  paginated_redirect(&quot;/pages?name=john&quot;) # =&gt; /pages/1?name=john&amp;page=4
-  paginated_redirect(&quot;/pages?name=john&amp;page=3&quot;) # =&gt; /pages/1?name=john&amp;page=3
+    # with params[:page] == 4
+    paginated_redirect(Task) # =&gt; /tasks?page=4
+    paginated_redirect(Admin::Secret) # =&gt; /admin/secrets?page=4
+    paginated_redirect(admin_page_path(page)) # =&gt; /admin/pages/1?page=4
+    paginated_redirect(paginated_admin_page_path(page)) # =&gt; /admin/pages/1?page=4
+    paginated_redirect(paginated_admin_page_path(:id =&gt; page, :page =&gt; 6)) # =&gt; /admin/pages/1?page=6
+    paginated_redirect(task) # =&gt; if task is a Task, then /tasks/1?page=4
+    paginated_redirect(&quot;/pages&quot;) # =&gt; /pages/1?page=4
+    paginated_redirect(&quot;/pages?name=john&quot;) # =&gt; /pages/1?name=john&amp;page=4
+    paginated_redirect(&quot;/pages?name=john&amp;page=3&quot;) # =&gt; /pages/1?name=john&amp;page=3
 
 * Figure out how to add the hidden field page param to the forms automatically
 * Write the generator</diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 &lt;h1&gt;Listing pages&lt;/h1&gt;
 
-&lt;%- paginated_section :class =&gt; &quot;flickr_pagination&quot; do -%&gt;
+&lt;%- paginated_section :class =&gt; &quot;flickr_pagination&quot;, :prev_label =&gt; &quot;Back&quot;, :next_label =&gt; &quot;Forward&quot; do -%&gt;
 &lt;table&gt;
   &lt;tr&gt;
     &lt;th&gt;Name&lt;/th&gt;</diff>
      <filename>app/views/pages/index.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,7 @@
   does not match the controller name, we would need to explicitly
   add it.
 --&gt;
-&lt;%- paginated_section do -%&gt;
+&lt;%- paginated_section :renderer =&gt; 'TaskRenderer' do -%&gt;
 &lt;table&gt;
   &lt;tr&gt;
     &lt;th&gt;Name&lt;/th&gt;</diff>
      <filename>app/views/tasks/index.html.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5f707b69cc1374a6e6dd39ac8b80e9fb5a66d003</id>
    </parent>
  </parents>
  <author>
    <name>Jeff Dean</name>
    <email>jeff@zilkey.com</email>
  </author>
  <url>http://github.com/zilkey/will_paginate_demo_app/commit/abac607a2854a2e15273aacf1670fe4c070df6e1</url>
  <id>abac607a2854a2e15273aacf1670fe4c070df6e1</id>
  <committed-date>2008-05-20T17:32:05-07:00</committed-date>
  <authored-date>2008-05-20T17:32:05-07:00</authored-date>
  <message>added custom link renderer</message>
  <tree>303ee5cf452895ae198b1fc89a72ec51f845f531</tree>
  <committer>
    <name>Jeff Dean</name>
    <email>jeff@zilkey.com</email>
  </committer>
</commit>
