Method: StandardView::MastheadHelper#masthead_menu_link_for_model

Defined in:
app/helpers/standard_view/masthead_helper.rb


10
11
12
13
# File 'app/helpers/standard_view/masthead_helper.rb', line 10

def masthead_menu_link_for_model(model_class)
  list = Material::List.for(model_class)
  masthead_menu_link list.item_class, list.icon, list.list_title, active_for(controller: list.route_key)
end