Skip to content

Commit

Permalink
Fix error at escape html FAQ block
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehonoshin committed Apr 29, 2012
1 parent e4f9bb6 commit 25c5ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faq.markdown
Expand Up @@ -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:
Expand Down

0 comments on commit 25c5ec4

Please sign in to comment.