mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-07-25 17:08:32 +00:00
14 lines
353 B
Ruby
14 lines
353 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Sidebars
|
|
# This is a special menu which does not serialize as
|
|
# a section and instead hoists all of menu items
|
|
# to be top-level items
|
|
class StaticMenu < ::Sidebars::Menu
|
|
override :serialize_for_super_sidebar
|
|
def serialize_for_super_sidebar
|
|
serialize_items_for_super_sidebar
|
|
end
|
|
end
|
|
end
|