lib/decidim/comments/admin_engine.rb in decidim-comments-0.11.2 vs lib/decidim/comments/admin_engine.rb in decidim-comments-0.12.0.pre
- old
+ new
@@ -6,19 +6,9 @@
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::AdminAbility",
- "Decidim::Comments::Abilities::ParticipatoryProcessAdminAbility",
- "Decidim::Comments::Abilities::ParticipatoryProcessModeratorAbility"
- ]
- end
- end
-
def load_seed
nil
end
end
end