Created
May 27, 2010 19:19
-
-
Save fakingfantastic/416222 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lib/javascript_helper.rb | |
module ActionView | |
module Helpers | |
module JavaScriptHelper | |
def j(data) | |
escape_javascript(data) | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment