Skip to content

Commit

Permalink
Removing DEPRECATION_WARNING for Rails 2.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
vinibaggio committed Jul 28, 2010
1 parent 5bfe6bb commit fcc2af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/show_for/builder.rb
Expand Up @@ -48,7 +48,7 @@ def wrap_with(type, content, options, safe=false, concat=false) #:nodoc:
content
end

html.html_safe! if safe && html.respond_to?(:html_safe!)
html.html_safe if safe && html.respond_to?(:html_safe)
concat ? @template.concat(html) : html
end

Expand Down

0 comments on commit fcc2af4

Please sign in to comment.