module Golden::Theme::Foundation::SubNavHelper

Public Instance Methods

foundation_sub_nav(options = {}) click to toggle source
# File lib/golden/theme/foundation/sub_nav_helper.rb, line 3
def foundation_sub_nav options = {}, &block
  html_class = options.delete :class
  options = {
    class: "sub-nav #{html_class}".strip
  }.deep_merge options
  foundation_dl_tag options, &block
end