This is what I want…
blog | photos | about
This is what my code gives me…
blog | photos | about |
The last “|” is to much…
<% for page in @menu_pages %> <li><%=page%></li> <li>|</li> <% end %>
Is there any way I can get some sort of indication whether the array
@menu_pages has a next element?