2018-10-27 【link_to】imgタグにリンクを貼る方法 Rails - ビュー <%= link_to image_tag("sample.png", alt: "Sampleの写真"), root_path %>