Method: StandardView::MastheadHelper#masthead_menu_link_for_model
- Defined in:
- app/helpers/standard_view/masthead_helper.rb
#masthead_menu_link_for_model(model_class) ⇒ Object
10 11 12 13 |
# File 'app/helpers/standard_view/masthead_helper.rb', line 10 def (model_class) list = Material::List.for(model_class) list.item_class, list.icon, list.list_title, active_for(controller: list.route_key) end |