lib/generators/templates/app/views/treeview.html.erb in beautiful_scaffold-0.2.2 vs lib/generators/templates/app/views/treeview.html.erb in beautiful_scaffold-0.2.3

- old
+ new

@@ -1,5 +1,5 @@ -<h2><%%= t(:treeview, :default => 'Treeview') %> <%= singular_table_name %></h2> +<h2><%%= t(:treeview, :default => 'Treeview') %> <%%= t(:<%= singular_table_name %>, :default => "<%= singular_table_name %>") %></h2> <div id="treeview"> <ul> <%% <%= model_camelize %>.transaction do %> <%% ar = <%= model_camelize %>.where(:<%= model %>_id => nil) %>