Railsメモ。Twitter-Bootstrapのiconとlink_toを使う方法

iタグとlink_toメソッドをこんな感じにするとうまく使えます。

<%= link_to  "/path1"  do%><i class="icon-home"></i>home<% end %>