lib/generators/templates/app/views/treeview.html.erb in beautiful_scaffold-0.2.4 vs lib/generators/templates/app/views/treeview.html.erb in beautiful_scaffold-0.2.5

- old
+ new

@@ -11,12 +11,13 @@ <%% end %> </ul> </div> <%% + 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 %> -<%%= render :partial => "layouts/treeview_js", :locals => { :model_name => model_name, :plural_model_name => plural_model_name, :opened_node => opened_node } %> +<%%= render :partial => "layouts/treeview_js", :locals => { :model_name => model_name, :plural_model_name => plural_model_name, :opened_node => opened_node, :namespace_for_url => namespace_for_url } %>