aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-01-13 20:40:43 +0900
committerGitHub <noreply@github.com>2017-01-13 20:40:43 +0900
commitaa0a3d26e338dd293a632e99e815e5ca6fad0d58 (patch)
treef19ef7ab746a432148657a458673ce3d5f2bf210
parent3d91649654ff5570d0cf26f96ec9f82f31fe32f6 (diff)
parente5f5e1f17a896f3a17662d611c241bc2be6c043a (diff)
downloadrails-aa0a3d26e338dd293a632e99e815e5ca6fad0d58.tar.gz
rails-aa0a3d26e338dd293a632e99e815e5ca6fad0d58.tar.bz2
rails-aa0a3d26e338dd293a632e99e815e5ca6fad0d58.zip
Merge pull request #27668 from kenta-s/fix-grammar-in-asset_url_helper
Fix grammar in asset_url_helper.rb [ci skip]
-rw-r--r--actionview/lib/action_view/helpers/asset_url_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionview/lib/action_view/helpers/asset_url_helper.rb b/actionview/lib/action_view/helpers/asset_url_helper.rb
index c6a5e04aba..bdabaed85c 100644
--- a/actionview/lib/action_view/helpers/asset_url_helper.rb
+++ b/actionview/lib/action_view/helpers/asset_url_helper.rb
@@ -406,7 +406,7 @@ module ActionView
def video_url(source, options = {})
url_to_asset(source, { type: :video }.merge!(options))
end
- alias_method :url_to_video, :video_url # aliased to avoid conflicts with an video_url named route
+ alias_method :url_to_video, :video_url # aliased to avoid conflicts with a video_url named route
# Computes the path to an audio asset in the public audios directory.
# Full paths from the document root will be passed through.
@@ -445,7 +445,7 @@ module ActionView
def font_path(source, options = {})
path_to_asset(source, { type: :font }.merge!(options))
end
- alias_method :path_to_font, :font_path # aliased to avoid conflicts with an font_path named route
+ alias_method :path_to_font, :font_path # aliased to avoid conflicts with a font_path named route
# Computes the full URL to a font asset.
# This will use +font_path+ internally, so most of their behaviors will be the same.
@@ -457,7 +457,7 @@ module ActionView
def font_url(source, options = {})
url_to_asset(source, { type: :font }.merge!(options))
end
- alias_method :url_to_font, :font_url # aliased to avoid conflicts with an font_url named route
+ alias_method :url_to_font, :font_url # aliased to avoid conflicts with a font_url named route
end
end
end