Skip to content

Instantly share code, notes, and snippets.

@aleandros
Created September 16, 2013 20:49
Show Gist options
  • Save aleandros/6586420 to your computer and use it in GitHub Desktop.
Save aleandros/6586420 to your computer and use it in GitHub Desktop.
module ApplicationHelper
# Top menu for helper for zurb foundation in RefineryCMS
def zurb_menu
menu_items = Refinery::Menu.new(Refinery::Page.in_menu)
presenter = Refinery::Pages::MenuPresenter.new(menu_items, self)
presenter.css = "top-bar-section"
presenter.dom_id = nil
presenter.menu_tag = :section
presenter.list_tag = "ul class='left'"
presenter
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment