app/views/exception_track/logs/index.html.erb in exception-track-0.1.5 vs app/views/exception_track/logs/index.html.erb in exception-track-0.2.0

- old
+ new

@@ -4,11 +4,11 @@ return false; } } </script> <div class="toolbar"> - <%= @logs.total_entries %> exceptions + <%= @logs.total_count %> exceptions <div class="pull-right"> <%= form_tag(all_logs_path, method: 'delete') do %> <button type="submit" class="btn btn-danger" onclick="return confirmDestroyAll()">Delete All</button> <% end %> @@ -16,11 +16,11 @@ </div> <% if @logs.blank? %> <div class="no-record">No exceptions.</div> <% else %> - <%= will_paginate @logs %> + <%= paginate @logs %> <table class="table table-borded tabl"> <thead> <tr> <th>#</th> @@ -38,7 +38,7 @@ </tr> <% end %> </tbody> </table> - <%= will_paginate @logs %> + <%= paginate @logs %> <% end %>