You can also use a
content_tag("a","link text")
which gives you
<a>link text</a>
or, from the comment from @cesartalves, with a block:
content_tag("a") do
image_tag("src")
end
See: rails api
You can also use a
content_tag("a","link text")
which gives you
<a>link text</a>
or, from the comment from @cesartalves, with a block:
content_tag("a") do
image_tag("src")
end
See: rails api