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

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

module Sidebars
  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