Permalink
Browse files

Merge pull request #73 from bigwheel/fix/faq_escape_html

Fix method name at escape html FAQ block
  • Loading branch information...
2 parents 9e1924b + 5c4e9be commit bec4d4d5f6068b0c069db51b61698ff7977c065a @rkh rkh committed Aug 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 faq.markdown
View
2 faq.markdown
@@ -235,7 +235,7 @@ in your helpers and create an `h` alias as follows:
helpers do
include Rack::Utils
- alias_method :h, :escape
+ alias_method :h, :escape_html
end
Now you can escape html in your templates like this:

0 comments on commit bec4d4d

Please sign in to comment.