I am trying to put image and when I click on image to go for example in for_rent_index_path ( witch in views)
for example I have this :
`<%= link_to "For rent", forrent_index_path %><br/>`
and works but is without image. I want to remove this and put an image with tag
how I can do that?
You just need to use the image tag as the first param in link to.