I have something like this in application.html.haml:
#header = image_tag("header.jpg")
How do I make that link to www.google.com, for example?
Thanks
I do it this way:
= link_to image_tag( 'header.jpg'), 'http://www.google.com'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With