提交 29746e76 编写于 作者: J Jamis Buck

make sure link_to_image is deprecated as well as link_image_to


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 e411b545
......@@ -174,7 +174,8 @@ def link_image_to(src, options = {}, html_options = {}, *parameters_for_method_r
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册