Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More symbols for send and respond_to?.

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
  • Loading branch information...
commit a978701f86609020eefae8cb1728ac73904234be 1 parent abebdf5
@clemens clemens authored jeremy committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/text_helper.rb
View
2  actionpack/lib/action_view/helpers/text_helper.rb
@@ -298,7 +298,7 @@ def textilize(text)
""
else
textilized = RedCloth.new(text, [ :hard_breaks ])
- textilized.hard_breaks = true if textilized.respond_to?("hard_breaks=")
+ textilized.hard_breaks = true if textilized.respond_to?(:hard_breaks=)
textilized.to_html
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.