Permalink
Browse files

Silence warning: discarding old h

  • Loading branch information...
brynary committed Nov 9, 2009
1 parent d988507 commit 8820bb7effdba399458bab2a1406b519c7a1cc42
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/lib/action_view/erb/util.rb
@@ -18,6 +18,7 @@ def html_escape(s)
s.to_s.gsub(/[&"><]/) { |special| HTML_ESCAPE[special] }
end
+ undef :h
alias h html_escape
module_function :html_escape

0 comments on commit 8820bb7

Please sign in to comment.