diff options
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_tag_helper.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_view/helpers/number_helper.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_view/helpers/url_helper.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index d67a5c6f41..e2e796e7c8 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -64,7 +64,7 @@ module ActionView "</form>" end - deprecate :end_form_tag, :start_form_tag + deprecate :end_form_tag, :start_form_tag => :form_tag # Creates a dropdown selection box, or if the <tt>:multiple</tt> option is set to true, a multiple # choice selection box. diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb index 3dfcbbdccb..979ba03f0c 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -149,7 +149,7 @@ module ActionView end alias_method :human_size, :number_to_human_size # deprecated alias - deprecate :human_size + deprecate :human_size => :number_to_human_size end end end diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index d78deb0b5a..009f5f5f45 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -174,7 +174,7 @@ module ActionView end alias_method :link_to_image, :link_image_to - deprecate :link_image_to + deprecate :link_image_to => :link_to_image # Creates a link tag of the given +name+ using a URL created by the set of # +options+ unless the current request uri is the same as the links, in |