public
Clone URL: git://github.com/defunkt/exception_logger.git
changing page_count to total_pages which is required for latest 
will_paginate
ryanb (author)
Sun May 04 22:27:07 -0700 2008
commit  8cc777a4c3ecac64a7811bf3211d204ada98feb7
tree    d46c61da86c63efc48cb35102ccae6cfd8f9f7ce
parent  4a10be2a33a34c3ebd7383365d36a17e8c0ad675
...
1
2
3
4
 
5
6
7
...
48
49
50
51
 
52
53
54
...
1
2
3
 
4
5
6
7
...
48
49
50
 
51
52
53
54
0
@@ -1,7 +1,7 @@
0
 <div id="exceptions">
0
 <div class="pages">
0
   <%= link_to_remote 'Delete Visible', :url => { :action => 'destroy_all' }, :with => "ExceptionLogger.deleteAll()" %>
0
-<% if @exceptions.page_count > 1 %>
0
+<% if @exceptions.total_pages > 1 %>
0
 :: Pages: <strong><%= pagination_remote_links @exceptions %></strong>
0
 <% end %>
0
 </div>
0
@@ -48,7 +48,7 @@ if Date.today == exc.created_at.to_date
0
 
0
 </table>
0
 
0
-<% if @exceptions.page_count > 1 %>
0
+<% if @exceptions.total_pages > 1 %>
0
 <div class="pages pages-bottom">
0
 Pages: <strong><%= pagination_remote_links @exceptions %></strong>
0
 </div>

Comments

    No one has commented yet.