Using spacer img in menu

Jolé
2007-07-02T21:07:35Z

Hi!

This is what I want....

blog | photos | about

This is what my code gives me.....

blog | photos | about |

The last "|" is to much....

[code]
	<% for page in @menu_pages %>
<%=page%>
|
	<% end %>
[/code]

Is there any way I can get some sort of indication whether the array
@menu_pages has a next element?

-- Jelle


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org