Welcome to mirror list, hosted at ThFree Co, Russian Federation.

renderable.rb « concerns « sidebars « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 750efa2fcb8c99deda0b315a518667629c6fb1a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Sidebars
  module Concerns
    module Renderable
      # This method will control whether the menu or menu_item
      # should be rendered. It will be overriden by specific
      # classes.
      def render?
        true
      end
    end
  end
end