app/views/admin/base/tree.html.haml in redde-0.3.0 vs app/views/admin/base/tree.html.haml in redde-0.3.1

- old
+ new

@@ -1,12 +1,10 @@ -= render 'admin/redde/page_header' += page_header - res_collection = instance_variable_get("@#{collection}") - if res_collection.any? - cache [model_name.maximum(:updated_at).to_i] do %ol.sort-tree{ 'data-sort-tree' => '' }= render partial: 'tree_item', collection: res_collection, as: :item - - =# sort_tree sort_admin_categories_path, 2 - else %h3 Ни одной #{tplural(model_name)}