lib/generators/templates/app/views/treeview.html.erb in beautiful_scaffold-0.3.0.rc1 vs lib/generators/templates/app/views/treeview.html.erb in beautiful_scaffold-0.3.0.rc2

- old
+ new

@@ -2,10 +2,10 @@ <%% namespace_for_url = "<%= namespace_for_url %>" plural_model_name = "<%= model_pluralize %>" model_name = "<%= singular_table_name %>" -opened_node = <%= model_camelize %>.select(:id).all.map{ |g| '"treeelt_' + g.id.to_s + '"' }.join(',').html_safe +opened_node = <%= model_camelize %>.select(:id).all.map{ |g| "'treeelt_" + g.id.to_s + "'" }.join(',').html_safe %> <div id="treeview" data-model="<%%= model_name %>" data-url="/<%%= namespace_for_url %><%%= plural_model_name %>/" data-opened="[<%%= opened_node %>]"> <ul> <%% <%= model_camelize %>.transaction do %>