Permalink
Browse files

remove useless html_safe call

  • Loading branch information...
1 parent 838699e commit eb13a8eebc6a60f249dee8f41720a0bdb74e4190 @lest lest committed Sep 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/nested_form/builder_mixin.rb
@@ -57,7 +57,7 @@ def link_to_remove(*args, &block)
args << (options.delete(:href) || "javascript:void(0)")
args << options
- (hidden_field(:_destroy) << @template.link_to(*args, &block)).html_safe
+ hidden_field(:_destroy) << @template.link_to(*args, &block)
end
def fields_for_with_nested_attributes(association_name, *args)

0 comments on commit eb13a8e

Please sign in to comment.