<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,7 @@
 = Newsletter
   
   Created by: Andrea Franz - http://gravityblast.com
-  Version: 0.1.4
+  Version: 0.1.5
   Contact: andrea AT gravityblast DOT com
 
 This extensions adds a newsletter system to RadiantCMS
@@ -22,6 +22,10 @@ More info can be found at the following url:
 	environment.rb:
 
 		config.extensions = [ :shards, :all ]
+  
+  Also you need to install the will_paginate rails plugin, you can find more info here:
+    
+    http://rock.errtheblog.com/will_paginate
 
 	Then you can proceed with installation:
                                                            </diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -8,7 +8,7 @@ class NewsletterSubscribersController &lt; ApplicationController
     @list_options[:by]    = params[:by] if params[:by] &amp;&amp; NewsletterSubscriber.columns.find{|column| column.name == params[:by]}
     @list_options[:order] = params[:order].to_s.downcase if ['desc', 'asc'].include?(params[:order].to_s.downcase)
     @list_options[:pp]    = params[:pp].to_i if params[:pp].to_i &gt; 1
-    @subscribers_pages, @subscribers = paginate(:newsletter_subscriber, :conditions =&gt; [&quot;newsletter_id = ?&quot;, @newsletter.id], :per_page =&gt; @list_options[:pp], :order =&gt; &quot;#{@list_options[:by]} #{@list_options[:order]}&quot;)
+    @subscribers          = NewsletterSubscriber.paginate(:page =&gt; params[:page], :per_page =&gt; '10', :conditions =&gt; [&quot;newsletter_id = ?&quot;, @newsletter.id], :per_page =&gt; @list_options[:pp], :order =&gt; &quot;#{@list_options[:by]} #{@list_options[:order]}&quot;)
   end
 
   def new</diff>
      <filename>app/controllers/newsletter_subscribers_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -28,7 +28,7 @@
 &lt;/table&gt;
 
 &lt;div style=&quot;text-align: center; margin-top: 10px&quot;&gt;
-  &lt;%= pagination_links @subscribers_pages, :params =&gt; @list_options %&gt;
+  &lt;%= will_paginate @subscribers, :params =&gt; @list_options %&gt;
 &lt;/div&gt;
 
 &lt;%= link_to 'New subscriber', :action =&gt; 'new' %&gt;
\ No newline at end of file</diff>
      <filename>app/views/newsletter_subscribers/index.rhtml</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@
 # require_dependency 'application'
 
 class NewsletterExtension &lt; Radiant::Extension
-  version &quot;0.1.4&quot;
+  version &quot;0.1.5&quot;
   description &quot;Adds a newsletter system to RadiantCMS&quot;
   url &quot;http://gravityblast.com/projects/radiant-newsletter-extension/&quot;
   </diff>
      <filename>newsletter_extension.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>51ccb2ba7e099a1698d8b51aadb8eac5a3394fa2</id>
    </parent>
  </parents>
  <author>
    <name>Andrea Franz</name>
    <email>andrea@gravityblast.com</email>
  </author>
  <url>http://github.com/pilu/radiant-newsletter/commit/97ac36c26da151a7bffdbfcea2ee616f910be00b</url>
  <id>97ac36c26da151a7bffdbfcea2ee616f910be00b</id>
  <committed-date>2008-04-05T06:23:22-07:00</committed-date>
  <authored-date>2008-04-05T06:23:22-07:00</authored-date>
  <message>Now it uses the will_paginate plugin for pagination</message>
  <tree>499fcf7ad8f87f3fab541aebb829cbb742634aa4</tree>
  <committer>
    <name>Andrea Franz</name>
    <email>andrea@gravityblast.com</email>
  </committer>
</commit>
