diff options
author | Carlos Galdino + Rafael Mendonça França <rafael.franca+carlos.galdino@plataformatec.com.br> | 2012-05-14 16:55:13 -0300 |
---|---|---|
committer | Carlos Galdino + Rafael Mendonça França <rafael.franca+carlos.galdino@plataformatec.com.br> | 2012-05-14 16:55:13 -0300 |
commit | e9051e20aeb2c666db06b6217954737665878db7 (patch) | |
tree | 8f47ad006a0de1969030659337a4e92cca4a1216 /actionpack/lib/action_view/helpers/url_helper.rb | |
parent | d47d6e7eda3aa3e6aa28d0c17ac6801234bb97d1 (diff) | |
download | rails-e9051e20aeb2c666db06b6217954737665878db7.tar.gz rails-e9051e20aeb2c666db06b6217954737665878db7.tar.bz2 rails-e9051e20aeb2c666db06b6217954737665878db7.zip |
Deprecate `:disable_with` for `button_tag` too
Diffstat (limited to 'actionpack/lib/action_view/helpers/url_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/url_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index 804b204fd1..6f05881d08 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -623,7 +623,7 @@ module ActionView method = html_options.delete('method') if disable_with - ActiveSupport::Deprecation.warn ":disable_with option is deprecated and will be removed from Rails 4.0. Use :data-disable-with instead" + ActiveSupport::Deprecation.warn ":disable_with option is deprecated and will be removed from Rails 4.0. Use 'data-disable-with' instead" html_options["data-disable-with"] = disable_with end |