diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-19 00:01:47 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-19 00:01:47 +0530 |
commit | de2e28d255d02214b5169c23da5f2327982ea0aa (patch) | |
tree | df8574254f15b1aa65d0907da4ec579b2e94da95 /actionpack | |
parent | 1ad4a309e32188d632ab5b6f65bc425ae6a31185 (diff) | |
download | rails-de2e28d255d02214b5169c23da5f2327982ea0aa.tar.gz rails-de2e28d255d02214b5169c23da5f2327982ea0aa.tar.bz2 rails-de2e28d255d02214b5169c23da5f2327982ea0aa.zip |
Revert "Remove redundant mention of escape_javascript alias."
This reverts commit d7f7f5ee560fafa7e9819786e41bf0ea6df7919b.
Reason: That isn't redundant IMO.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/helpers/javascript_helper.rb | 2 |
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 b750a6c64e..309923490c 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. # - # This is particularly helpful in JavaScript responses, like: + # Also available through the alias j(). This is particularly helpful in JavaScript responses, like: # # $('some_element').replaceWith('<%=j render 'some/element_template' %>'); def escape_javascript(javascript) |