Created
September 16, 2013 20:49
-
-
Save aleandros/6586420 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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