generators/schofield_controller/templates/nested/new.rb in schofield-0.0.7 vs generators/schofield_controller/templates/nested/new.rb in schofield-0.0.8
- old
+ new
@@ -1,3 +1,3 @@
- titles link_to(@<%= sco_underscored %>.<%= sco_parent_underscored %>, admin_<%= sco_parent_underscored %>_path(@<%= sco_underscored %>.<%= sco_parent_underscored %>)), link_to('<%= sco_titleized_plural %>', admin_<%= sco_parent_underscored %>_<%= sco_underscored_plural %>_path(@<%= sco_underscored %>.<%= sco_parent_underscored %>)), 'New'
-= render :partial => 'form', :locals => { :object => @<%= sco_underscored %> }
+= render :partial => 'form', :object => @<%= sco_underscored %>
\ No newline at end of file