Permalink
Browse files

Fix error at escape html FAQ block

  • Loading branch information...
1 parent e4f9bb6 commit 25c5ec451acef3ea329bce93dd8c9b54fc984b08 @Mehonoshin Mehonoshin committed Apr 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 faq.markdown
View
@@ -235,7 +235,7 @@ in your helpers and create an `h` alias as follows:
helpers do
include Rack::Utils
- alias_method :escape, :h
+ alias_method :h, :escape
end
Now you can escape html in your templates like this:

0 comments on commit 25c5ec4

Please sign in to comment.