diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-01 15:58:56 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-01 15:58:56 -0300 |
commit | e826a5c749f9a4029a3b2a7e3d371498feeb9b10 (patch) | |
tree | 9c3e86d0e3c0d33a0cf27ac58e77b2b9e8131e09 /actionpack/lib | |
parent | af65b8c9e75052c8ec282e9676502a3a9506ac89 (diff) | |
download | rails-e826a5c749f9a4029a3b2a7e3d371498feeb9b10.tar.gz rails-e826a5c749f9a4029a3b2a7e3d371498feeb9b10.tar.bz2 rails-e826a5c749f9a4029a3b2a7e3d371498feeb9b10.zip |
Revert "Deprecate `:mouseover` options for `image_tag` helper."
This reverts commit 1aff7725c7a04cde202cca906208560a55409e6a.
Conflicts:
actionpack/CHANGELOG.md
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/asset_tag_helper.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionpack/lib/action_view/helpers/asset_tag_helper.rb index 88bc6a3728..caa1a02ad8 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helper.rb @@ -367,8 +367,6 @@ module ActionView end if mouseover = options.delete(:mouseover) - ActiveSupport::Deprecation.warn ":mouseover options is deprecated and will be removed from Rails 4.0" - options[:onmouseover] = "this.src='#{path_to_image(mouseover)}'" options[:onmouseout] = "this.src='#{src}'" end |