README.txt in paginator-1.0.9 vs README.txt in paginator-1.1.0
- old
+ new
@@ -28,11 +28,11 @@
@page = @pager.page(params[:page])
# respond_to here if you want it
end
# In your view
- <% @page.items.each do |foo| %>
+ <% @page.each do |foo| %>
<%# Show something for each item %>
<% end %>
<%= @page.number %>
<%= link_to("Prev", foos_url(:page => @page.prev.number)) if @page.prev? %>
<%= link_to("Next", foos_url(:page => @page.next.number)) if @page.next? %>
@@ -60,10 +60,10 @@
== LICENSE:
(The MIT License)
-Copyright (c) 2006 Bruce Williams (http://codefluency.com)
+Copyright (c) 2006-2007 Bruce Williams (http://codefluency.com)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,