aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/url_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb
index 009f5f5f45..21b5e9075c 100644
--- a/actionpack/lib/action_view/helpers/url_helper.rb
+++ b/actionpack/lib/action_view/helpers/url_helper.rb
@@ -174,7 +174,8 @@ module ActionView
end
alias_method :link_to_image, :link_image_to
- deprecate :link_image_to => :link_to_image
+ deprecate :link_to_image => "use link_to(image_tag(...), url)",
+ :link_image_to => "use link_to(image_tag(...), url)"
# 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