aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/url_helper.rb
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2006-10-24 17:14:50 +0000
committerJamis Buck <jamis@37signals.com>2006-10-24 17:14:50 +0000
commit897ffd63d2ee33808eb68173409bcf1047930535 (patch)
treed1e128f4dad00d416579a7d7ad7a85fa3ada428a /actionpack/lib/action_view/helpers/url_helper.rb
parent3a318970b19129c2ba57ebf576015dfa653613e8 (diff)
downloadrails-897ffd63d2ee33808eb68173409bcf1047930535.tar.gz
rails-897ffd63d2ee33808eb68173409bcf1047930535.tar.bz2
rails-897ffd63d2ee33808eb68173409bcf1047930535.zip
Use new deprecate syntax so that alternatives are given with the warning
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/url_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/url_helper.rb2
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 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