diff options
author | Clemens Kofler <clemens@railway.at> | 2008-09-02 10:02:18 +0200 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-09-03 00:55:22 +0200 |
commit | a978701f86609020eefae8cb1728ac73904234be (patch) | |
tree | f19f9dfbe9144a61272589cc2a18c60bacaa1bc9 | |
parent | abebdf52a3b1db58b9abf9774fa87271d480133a (diff) | |
download | rails-a978701f86609020eefae8cb1728ac73904234be.tar.gz rails-a978701f86609020eefae8cb1728ac73904234be.tar.bz2 rails-a978701f86609020eefae8cb1728ac73904234be.zip |
More symbols for send and respond_to?.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
-rw-r--r-- | actionpack/lib/action_view/helpers/text_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb index a5d43b90f4..06f8226229 100644 --- a/actionpack/lib/action_view/helpers/text_helper.rb +++ b/actionpack/lib/action_view/helpers/text_helper.rb @@ -298,7 +298,7 @@ module ActionView "" 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 |