app/views/admin/kitsune/records/index.html.haml in kitsune-0.0.19 vs app/views/admin/kitsune/records/index.html.haml in kitsune-0.1.0
- old
+ new
@@ -5,6 +5,7 @@
- @model.tabs.each do |key, value|
= link_to key, value
= render :partial => 'list', :locals => { :model => @model, :records => @records, :parent => nil }
-= will_paginate @records
+- if defined? will_paginate
+ = will_paginate @records