syntax error

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@50 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2007-12-03 08:44:15 +00:00
parent afa8015bfa
commit e2ab72143f
1 changed files with 2 additions and 1 deletions

View File

@ -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>