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>
|
<ul>
|
||||||
<% unless @beers.empty? -%>
|
<% 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>
|
<li>No beers, yet</li>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Reference in New Issue