summaryrefslogtreecommitdiff
path: root/lib/sidebars/concerns/renderable.rb
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