Sha256: 630324d00eb529325374bc6cff49239caa836cac34ca73daf75029d37a39df08
Contents?: true
Size: 691 Bytes
Versions: 3
Compression:
Stored size: 691 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryDocuments module Admin # This module adds custom javascript and css for the admin controllers related to participatory documents module NeedsAdminSnippets extend ActiveSupport::Concern included do before_action :add_snippets private def add_snippets return unless respond_to?(:snippets) snippets.add(:head, helpers.stylesheet_pack_tag("decidim_participatory_documents_admin")) snippets.add(:foot, helpers.javascript_pack_tag("decidim_participatory_documents_admin")) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems