diff options
author | kenta-s <knt01222@gmail.com> | 2017-01-13 19:48:05 +0900 |
---|---|---|
committer | kenta-s <knt01222@gmail.com> | 2017-01-13 20:13:15 +0900 |
commit | e5f5e1f17a896f3a17662d611c241bc2be6c043a (patch) | |
tree | f19ef7ab746a432148657a458673ce3d5f2bf210 /actionview/lib | |
parent | 3d91649654ff5570d0cf26f96ec9f82f31fe32f6 (diff) | |
download | rails-e5f5e1f17a896f3a17662d611c241bc2be6c043a.tar.gz rails-e5f5e1f17a896f3a17662d611c241bc2be6c043a.tar.bz2 rails-e5f5e1f17a896f3a17662d611c241bc2be6c043a.zip |
Fix grammar in asset_url_helper.rb [ci skip]
Diffstat (limited to 'actionview/lib')
-rw-r--r-- | actionview/lib/action_view/helpers/asset_url_helper.rb | 6 |
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 |