aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHendy Tanata <htanata@gmail.com>2012-01-16 21:33:19 -0800
committerHendy Tanata <htanata@gmail.com>2012-01-16 21:33:19 -0800
commitd7f7f5ee560fafa7e9819786e41bf0ea6df7919b (patch)
tree298c1ac4fc0d03fa4f4fd0e8023c7bd28f8796f4
parent81ce77d0fe3bf99cc3ec625bd3b031354b827a4f (diff)
downloadrails-d7f7f5ee560fafa7e9819786e41bf0ea6df7919b.tar.gz
rails-d7f7f5ee560fafa7e9819786e41bf0ea6df7919b.tar.bz2
rails-d7f7f5ee560fafa7e9819786e41bf0ea6df7919b.zip
Remove redundant mention of escape_javascript alias.
The doc already shows the alias.
-rw-r--r--actionpack/lib/action_view/helpers/javascript_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/javascript_helper.rb b/actionpack/lib/action_view/helpers/javascript_helper.rb
index 309923490c..b750a6c64e 100644
--- a/actionpack/lib/action_view/helpers/javascript_helper.rb
+++ b/actionpack/lib/action_view/helpers/javascript_helper.rb
@@ -18,7 +18,7 @@ module ActionView
# Escapes carriage returns and single and double quotes for JavaScript segments.
#
- # Also available through the alias j(). This is particularly helpful in JavaScript responses, like:
+ # This is particularly helpful in JavaScript responses, like:
#
# $('some_element').replaceWith('<%=j render 'some/element_template' %>');
def escape_javascript(javascript)