Skip to content

Instantly share code, notes, and snippets.

@nashirox
Last active February 8, 2018 12:30
Show Gist options
  • Save nashirox/2f960d341bde7e711034e669dc9e371c to your computer and use it in GitHub Desktop.
Save nashirox/2f960d341bde7e711034e669dc9e371c to your computer and use it in GitHub Desktop.
link_toヘルパーにアイコンを埋め込む
<% link_to root_path do %>
<i class="icon-home"></i> ホーム
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment