Skip to content

Commit

Permalink
revert default view in will pagingate
Browse files Browse the repository at this point in the history
  • Loading branch information
roothybrid7 committed Jun 6, 2011
1 parent 290dfcf commit 1cb0ed0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions app/views/groups/index.html.haml
Expand Up @@ -17,8 +17,7 @@
%tbody#groups
= render @groups

- if params[:per_page]
= will_paginate @groups
= will_paginate @groups
%br

= link_to 'New Group', new_group_path
3 changes: 1 addition & 2 deletions app/views/zones/all_records.html.haml
Expand Up @@ -31,8 +31,7 @@
%tbody#records
-@records.each do |record|
= render(:partial => 'records/record', :locals => {:record => record})
- if params[:per_page]
= will_paginate @records
= will_paginate @records
= submit_tag "Bulk delete", :confirm => 'Are you sure?', :disable_with => 'Processing...'
%br/
#new_records
Expand Down
3 changes: 1 addition & 2 deletions app/views/zones/index.html.haml
Expand Up @@ -18,8 +18,7 @@

%tbody#zones
= render @zones
- if params[:per_page]
= will_paginate @zones
= will_paginate @zones
= submit_tag "Bulk destroy", :confirm => 'Are you sure?', :disable_with => 'Processing...'
%br/
#new_zones
Expand Down

0 comments on commit 1cb0ed0

Please sign in to comment.