Fix method name at escape html FAQ block #73

Merged
merged 1 commit into from Aug 2, 2012
+1 −1
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: