Skip to content

Instantly share code, notes, and snippets.

@stepahn
Created June 10, 2009 11:22
Show Gist options
  • Save stepahn/127152 to your computer and use it in GitHub Desktop.
Save stepahn/127152 to your computer and use it in GitHub Desktop.
<%= navigation [
:home, t(:'navigation.home'),
:gallery, t(:'navigation.gallery'),
:shop, t(:'navigation.shop'),
:contact, t(:'navigation.contact'),
:orders, t(:'navigation.orders'),
:products, t(:'navigation.products'),
:pages, t(:'navigation.pages'),
:pictures, t(:'navigation.pictures')], :link_text => true, :authorize => [:orders, :products, :pages, :pictures]%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment