syntax error
git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@50 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7master
parent
afa8015bfa
commit
e2ab72143f
|
@ -1,6 +1,7 @@
|
|||
<ul>
|
||||
<% unless @beers.empty? -%>
|
||||
<% for beer in @beers %><li><%= link_to beer.title, beer_path(beer.page.title_for_url) %></li><% else -%>
|
||||
<% for beer in @beers %><li><%= link_to beer.title, beer_path(beer.page.title_for_url) %></li><% end -%>
|
||||
<% else -%>
|
||||
<li>No beers, yet</li>
|
||||
<% end -%>
|
||||
</ul>
|
||||
|
|
Reference in New Issue