aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-07-04 03:00:09 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-07-04 03:00:09 +0530
commit3ac3760c69e6e6914c5ddae138856b3c82ac0f20 (patch)
treea8b4ba1b24397bdbed9c9af2594ebf780757a166 /actionview
parentd4422c36ca265c076825e2ad94511f4e900c3015 (diff)
downloadrails-3ac3760c69e6e6914c5ddae138856b3c82ac0f20.tar.gz
rails-3ac3760c69e6e6914c5ddae138856b3c82ac0f20.tar.bz2
rails-3ac3760c69e6e6914c5ddae138856b3c82ac0f20.zip
[ci skip] /javascript/ -> JavaScript - cover whole app
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/asset_url_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/asset_url_helper.rb b/actionview/lib/action_view/helpers/asset_url_helper.rb
index 4a682ce4e2..469f7c16bd 100644
--- a/actionview/lib/action_view/helpers/asset_url_helper.rb
+++ b/actionview/lib/action_view/helpers/asset_url_helper.rb
@@ -231,7 +231,7 @@ module ActionView
end
end
- # Computes the path to a javascript asset in the public javascripts directory.
+ # Computes the path to a JavaScript asset in the public javascripts directory.
# If the +source+ filename has no extension, .js will be appended (except for explicit URIs)
# Full paths from the document root will be passed through.
# Used internally by +javascript_include_tag+ to build the script path.
@@ -246,7 +246,7 @@ module ActionView
end
alias_method :path_to_javascript, :javascript_path # aliased to avoid conflicts with a javascript_path named route
- # Computes the full URL to a javascript asset in the public javascripts directory.
+ # Computes the full URL to a JavaScript asset in the public javascripts directory.
# This will use +javascript_path+ internally, so most of their behaviors will be the same.
def javascript_url(source, options = {})
url_to_asset(source, {type: :javascript}.merge!(options))