Method: Content::HomeHelper#setting_options_with_content_link
- Defined in:
- app/models/concerns/content/home_helper.rb
#setting_options_with_content_link ⇒ Object
Adds a content link to the More menu
8 9 10 11 12 13 14 15 16 17 18 |
# File 'app/models/concerns/content/home_helper.rb', line 8 def choices = content_group = [ [_('Products'), :"content/products"], [_('Repositories'), :"content/repositories"], [_('Content Views'), :"content/content_views"], [_('Gpg keys'), :"content/gpg_keys"] ] choices.insert(3, [:divider], [:group, _("Content"), content_group]) end |