Sha256: a612a9191e3a5b6ee2184ce654ce0daad9df2661e3b4ad2d337a8e02f38d2e78
Contents?: true
Size: 459 Bytes
Versions: 13
Compression:
Stored size: 459 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin module Concerns module HasTabbedMenu extend ActiveSupport::Concern included do helper_method :tab_menu_name, :has_tab_menu? private def has_tab_menu? = true def tab_menu_name = raise NotImplementedError, "Need to define a `tab_menu_name` with the name from the `Decidim.menu` definition" end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems