From c915ddd38642333cd0f28d188c5d7c51ba517c03 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Sun, 5 Sep 2010 23:45:51 -0300 Subject: Start cleanup of deprecations in ActionView MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Valim --- actionpack/lib/action_view/helpers/url_helper.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'actionpack/lib/action_view/helpers/url_helper.rb') diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index 555be6ed2b..f8147840ed 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -268,7 +268,7 @@ module ActionView # The +options+ hash accepts the same options as url_for. # # There are a few special +html_options+: - # * :method - Symbol of HTTP verb. Supported verbs are :post, :get, + # * :method - Symbol of HTTP verb. Supported verbs are :post, :get, # :delete and :put. By default it will be :post. # * :disabled - If set to true, it will generate a disabled button. # * :confirm - This will use the unobtrusive JavaScript driver to @@ -594,11 +594,6 @@ module ActionView end confirm = html_options.delete("confirm") - - if html_options.key?("popup") - ActiveSupport::Deprecation.warn(":popup has been deprecated", caller) - end - method, href = html_options.delete("method"), html_options['href'] add_confirm_to_attributes!(html_options, confirm) if confirm -- cgit v1.2.3