Sha256: fe08fdfd1dc3f5bfbd0938430a227eedc0f906fb94a7ad2656b2f1446882af03
Contents?: true
Size: 738 Bytes
Versions: 27
Compression:
Stored size: 738 Bytes
Contents
# frozen_string_literal: true require "active_support/concern" module Decidim module ParticipatoryProcesses module Admin module Concerns # This concern is meant to be included in all controllers that are scoped # into a participatory process' admin panel. It will override the layout # so it shows the sidebar, preload the participatory process, etc. module ParticipatoryProcessAdmin extend ActiveSupport::Concern included do include NeedsParticipatoryProcess layout "decidim/admin/participatory_process" alias_method :current_participatory_space, :current_participatory_process end end end end end end
Version data entries
27 entries across 27 versions & 2 rubygems