From 8e4148bf9dd43601609b70ffbc354d80563c86e2 Mon Sep 17 00:00:00 2001 From: Angelo Capilleri Date: Sun, 13 May 2012 23:11:46 +0200 Subject: mispelling asset_tag_helper --- actionpack/lib/action_view/helpers/asset_tag_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_view/helpers') diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb index adc62ec6a9..ae5420dbd8 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -323,7 +323,7 @@ module ActionView end alias_method :path_to_audio, :audio_path # aliased to avoid conflicts with an audio_path named route - # Computes the full URL to a audio asset in the public audios directory. + # 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. def audio_url(source) URI.join(current_host, path_to_audio(source)).to_s -- cgit v1.2.3 From fc0391ff7d94945e51297f2dbb15e9b149094382 Mon Sep 17 00:00:00 2001 From: Francesco Rodriguez Date: Tue, 15 May 2012 01:51:54 -0500 Subject: Removing ==Examples and last blank lines of docs from actionpack --- .../lib/action_view/helpers/asset_tag_helper.rb | 89 ++++++++++------------ .../asset_tag_helpers/javascript_tag_helpers.rb | 4 - .../asset_tag_helpers/stylesheet_tag_helpers.rb | 3 - actionpack/lib/action_view/helpers/cache_helper.rb | 1 - .../lib/action_view/helpers/capture_helper.rb | 1 - actionpack/lib/action_view/helpers/date_helper.rb | 26 ------- actionpack/lib/action_view/helpers/debug_helper.rb | 3 - actionpack/lib/action_view/helpers/form_helper.rb | 5 -- .../lib/action_view/helpers/form_options_helper.rb | 1 - .../lib/action_view/helpers/sanitize_helper.rb | 3 - actionpack/lib/action_view/helpers/tag_helper.rb | 2 - actionpack/lib/action_view/helpers/text_helper.rb | 11 --- 12 files changed, 42 insertions(+), 107 deletions(-) (limited to 'actionpack/lib/action_view/helpers') diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb index ae5420dbd8..1928c332e8 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -252,7 +252,6 @@ module ActionView # The following call would generate such a tag: # # <%= favicon_link_tag 'mb-icon.png', :rel => 'apple-touch-icon', :type => 'image/png' %> - # def favicon_link_tag(source='favicon.ico', options={}) tag('link', { :rel => 'shortcut icon', @@ -290,7 +289,6 @@ module ActionView # Full paths from the document root will be passed through. # Used internally by +video_tag+ to build the video path. # - # ==== Examples # video_path("hd") # => /videos/hd # video_path("hd.avi") # => /videos/hd.avi # video_path("trailers/hd.avi") # => /videos/trailers/hd.avi @@ -312,7 +310,6 @@ module ActionView # Full paths from the document root will be passed through. # Used internally by +audio_tag+ to build the audio path. # - # ==== Examples # audio_path("horse") # => /audios/horse # audio_path("horse.wav") # => /audios/horse.wav # audio_path("sounds/horse.wav") # => /audios/sounds/horse.wav @@ -333,7 +330,6 @@ module ActionView # Computes the path to a font asset in the public fonts directory. # Full paths from the document root will be passed through. # - # ==== Examples # font_path("font") # => /fonts/font # font_path("font.ttf") # => /fonts/font.ttf # font_path("dir/font.ttf") # => /fonts/dir/font.ttf @@ -368,22 +364,22 @@ module ActionView # This can be used to implement an easy image toggle that fires on onmouseover. # # ==== Examples - # image_tag("icon") # => - # Icon - # image_tag("icon.png") # => - # Icon - # image_tag("icon.png", :size => "16x10", :alt => "Edit Entry") # => - # Edit Entry - # image_tag("/icons/icon.gif", :size => "16x16") # => - # Icon - # image_tag("/icons/icon.gif", :height => '32', :width => '32') # => - # Icon - # image_tag("/icons/icon.gif", :class => "menu_icon") # => - # Icon - # image_tag("mouse.png", :mouseover => "/images/mouse_over.png") # => - # Mouse - # image_tag("mouse.png", :mouseover => image_path("mouse_over.png")) # => - # Mouse + # image_tag("icon") # => + # Icon + # image_tag("icon.png") # => + # Icon + # image_tag("icon.png", :size => "16x10", :alt => "Edit Entry") # => + # Edit Entry + # image_tag("/icons/icon.gif", :size => "16x16") # => + # Icon + # image_tag("/icons/icon.gif", :height => '32', :width => '32') # => + # Icon + # image_tag("/icons/icon.gif", :class => "menu_icon") # => + # Icon + # image_tag("mouse.png", :mouseover => "/images/mouse_over.png") # => + # Mouse + # image_tag("mouse.png", :mouseover => image_path("mouse_over.png")) # => + # Mouse def image_tag(source, options={}) options = options.symbolize_keys @@ -426,24 +422,24 @@ module ActionView # value is not in the correct format. # # ==== Examples - # video_tag("trailer") # => - #