Answers for "how to link a image in image tag in ruby on rails"

2

rails image tag

<%= image_tag 'icon.png', alt: 'icon' %>
# => <img src='app/assets/images/icon.png' alt='icon' />
Posted by: Guest on January-27-2021

Browse Popular Code Answers by Language