Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
Changed default builder name to 'f' instead of 'builder'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lailson Bandeira committed Feb 13, 2011
1 parent e6eecb8 commit 954aca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/awesome_nested_fields_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def nested_fields_template(builder, association, options={})
def nested_fields_process_default_options(options, builder, association)
options[:new_object] ||= builder.object.class.reflect_on_association(association).klass.new
options[:partial] ||= association.to_s.singularize
options[:builder_local] ||= :builder
options[:builder_local] ||= :f
options[:item_template_class] ||= 'template item'
options[:none_template_class] ||= 'template none'
options
Expand Down

0 comments on commit 954aca6

Please sign in to comment.