Module: DuffyHelper
- Defined in:
 - lib/duffy/duffy_helper.rb
 
Instance Method Summary collapse
- 
  
    
      #menu_tag(title, link, options = {})  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
This creates menu entries in the format Zurb Foundation expects.
 
Instance Method Details
#menu_tag(title, link, options = {}) ⇒ Object
This creates menu entries in the format Zurb Foundation expects. It’s just an <li> with a link inside it. menu_tag(‘Help’, help_path) => <li><a href=“/help”>Help</a></li>
      6 7 8 9  | 
    
      # File 'lib/duffy/duffy_helper.rb', line 6 def (title, link, = {}) ActiveSupport::Deprecation.warn('This method will be removed without replacement in future versions') content_tag(:li, link_to(title, link), ) end  |