Commit 17dbf46c2bc747c7aefe850800eaef29e16d82f3
Committed by
Daniela Feitosa
1 parent
4d0b3a1b
Exists in
master
and in
29 other branches
Do not use will_paginate directly to avoid mistakes with translations
(ActionItem1929)
Showing
4 changed files
with
4 additions
and
4 deletions
Show diff stats
app/views/catalog/index.rhtml
app/views/content_viewer/image_gallery.rhtml
app/views/manage_products/index.rhtml
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | <% end %> | 22 | <% end %> |
23 | </table> | 23 | </table> |
24 | 24 | ||
25 | -<%= will_paginate @products %> | 25 | +<%= pagination_links @products %> |
26 | 26 | ||
27 | <% button_bar do %> | 27 | <% button_bar do %> |
28 | <%= button :add, _('New product or service'), :action => 'new' %> | 28 | <%= button :add, _('New product or service'), :action => 'new' %> |
app/views/search/products.rhtml
@@ -23,6 +23,6 @@ | @@ -23,6 +23,6 @@ | ||
23 | </div><!-- class="has_cat_list" --> | 23 | </div><!-- class="has_cat_list" --> |
24 | <% end %> | 24 | <% end %> |
25 | 25 | ||
26 | -<%= will_paginate @results[:products] %> | 26 | +<%= pagination_links @results[:products] %> |
27 | 27 | ||
28 | <br style="clear:both" /> | 28 | <br style="clear:both" /> |