Merge pull request #9856 from opf/fix/39857/members-menu

[39857] Sort wiki before members, keeping title order
pull/9858/head
ulferts 3 years ago committed by GitHub
commit 2eabc871ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      lib/redmine/menu_manager/wiki_menu_helper.rb

@ -49,6 +49,7 @@ module Redmine::MenuManager::WikiMenuHelper
menu.push main_item.menu_identifier,
{ controller: '/wiki', action: 'show', id: main_item.slug },
caption: main_item.title,
before: :members,
icon: 'icon2 icon-wiki',
html: { class: 'wiki-menu--main-item' }

Loading…
Cancel
Save