app/views/comments/index.html.erb in tkh_content-0.9.9 vs app/views/comments/index.html.erb in tkh_content-0.9.10
- old
+ new
@@ -1,10 +1,10 @@
<h1><%= t('activerecord.models.comments') %></h1>
<%= render 'tab_admin_menu' %>
-<%= will_paginate @comments %>
+<%= will_paginate @comments, inner_window: 2 %>
<table class='table table-striped'>
<thead>
<tr>
<th><%= t('activerecord.attributes.comments.author') %>, <%= t('activerecord.models.page') %>, <%= t('activerecord.attributes.comments.locale') %><br />
@@ -25,8 +25,8 @@
</tr>
<% end %>
</tbody>
</table>
-<%= will_paginate @comments %>
+<%= will_paginate @comments, inner_window: 2 %>
<%= render 'shared/admin_sidebar' %>