Sha256: 1b1c9cc27af866aec48cdbe87dbaee10184724397d86810e15e0c6a5a1dacd31
Contents?: true
Size: 629 Bytes
Versions: 10
Compression:
Stored size: 629 Bytes
Contents
# frozen_string_literal: true module Decidim module Comments # This is the engine that runs on the public interface of `decidim-comments`. class AdminEngine < ::Rails::Engine isolate_namespace Decidim::Comments::Admin paths["db/migrate"] = nil initializer "decidim_comments.inject_abilities_to_user" do |_app| Decidim.configure do |config| config.admin_abilities += ["Decidim::Comments::Abilities::AdminUser"] config.admin_abilities += ["Decidim::Comments::Abilities::ProcessAdminUser"] end end def load_seed nil end end end end
Version data entries
10 entries across 10 versions & 2 rubygems