method

link_image_to

rails latest stable - Class: ActionView::Helpers::UrlHelper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

link_image_to(src, options = {}, html_options = {}, *parameters_for_method_reference)
public

DEPRECATED. It is reccommended to use the AssetTagHelper::image_tag within a link_to method to generate a linked image.

  link_to(image_tag("rss", :size => "30x45", :border => 0), "http://www.example.com")