app/views/admin/logs/index.html.haml in effective_logging-1.2.0 vs app/views/admin/logs/index.html.haml in effective_logging-1.2.1
- old
+ new
@@ -1,7 +1,4 @@
%h2= @page_title
-- unless (@datatable.collection.length rescue 0) > 0
- %p
- There are no logs
-- else
- = render_datatable @datatable
+= render_datatable @datatable do
+ %p There are no logs