haml linebreaks
- if @likelist
You like
= @likelist.products.size
products.
= link_to "Likelist", likelist_path
this results in ugly linebreaks -->
<div id='likeli开发者_开发技巧st_link'>
You like
1
products.
<a href="/likelist">Likelist</a>
</div>
is there a way to get everything in one line?
- if @likelist
You like #{@likelist.products.size} products. #{link_to "Likelist", likelist_path}
精彩评论