From 5b576af97efe7ff5375572ad325b18429e9a75a8 Mon Sep 17 00:00:00 2001 From: schneems Date: Wed, 15 Jun 2016 11:39:55 -0500 Subject: Add descriptive comment --- actionview/lib/action_view/helpers/asset_url_helper.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/actionview/lib/action_view/helpers/asset_url_helper.rb b/actionview/lib/action_view/helpers/asset_url_helper.rb index 61e87e6f78..8db65adc5d 100644 --- a/actionview/lib/action_view/helpers/asset_url_helper.rb +++ b/actionview/lib/action_view/helpers/asset_url_helper.rb @@ -171,7 +171,7 @@ module ActionView def public_asset_path(source, options = {}) path_to_asset(source, {public_folder: true}.merge!(options)) end - alias_method :path_to_public_asset, :public_asset_path + alias_method :path_to_public_asset, :public_asset_path # aliased to avoid conflicts with an font_path named route # Computes the full URL to an asset in the public directory. This # will use +asset_path+ internally, so most of their behaviors @@ -277,7 +277,7 @@ module ActionView def public_javascript_path(source, options = {}) path_to_javascript(source, {public_folder: true}.merge!(options)) end - alias_method :path_to_public_javascript, :public_javascript_path + alias_method :path_to_public_javascript, :public_javascript_path # aliased to avoid conflicts with an font_path named route # 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. @@ -309,7 +309,7 @@ module ActionView def public_stylesheet_path(source, options) path_to_stylesheet(source, {public_folder: true}.merge!(options)) end - alias_method :path_to_public_stylesheet, :public_stylesheet_path + alias_method :path_to_public_stylesheet, :public_stylesheet_path # aliased to avoid conflicts with an font_path named route # Computes the full URL to a stylesheet asset in the public stylesheets directory. # This will use +stylesheet_path+ internally, so most of their behaviors will be the same. @@ -344,7 +344,7 @@ module ActionView def public_image_path(source, options) path_to_image(source, {public_folder: true}.merge!(options)) end - alias_method :path_to_public_image, :public_image_path + alias_method :path_to_public_image, :public_image_path # aliased to avoid conflicts with an font_path named route # Computes the full URL to an image asset. # This will use +image_path+ internally, so most of their behaviors will be the same. @@ -375,7 +375,7 @@ module ActionView def public_video_path(source, options) path_to_video(source, {public_folder: true}.merge!(options)) end - alias_method :path_to_public_video, :public_video_path + alias_method :path_to_public_video, :public_video_path # aliased to avoid conflicts with an font_path named route # Computes the full URL to a video asset in the public videos directory. # This will use +video_path+ internally, so most of their behaviors will be the same. @@ -406,7 +406,7 @@ module ActionView def public_audio_path(source, options = {}) path_to_audio(source, {public_folder: true}.merge!(options)) end - alias_method :path_to_public_audio, :public_audio_path + alias_method :path_to_public_audio, :public_audio_path # aliased to avoid conflicts with an font_path named route # Computes the full URL to an audio asset in the public audios directory. # This will use +audio_path+ internally, so most of their behaviors will be the same. @@ -436,7 +436,7 @@ module ActionView def public_font_path(source, options = {}) path_to_font(source, {public_folder: true}.merge!(options)) end - alias_method :path_to_public_font, :public_font_path + alias_method :path_to_public_font, :public_font_path # aliased to avoid conflicts with an 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. -- cgit v1.2.3