Sha256: 55f6bd32a01b85a5f2f9de43cc7fa611fb77858285bbccc924e67755ba826c42

Contents?: true

Size: 542 Bytes

Versions: 20

Compression:

Stored size: 542 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Debates
    # This is the engine that runs on the public interface of `decidim-debates`.
    # It mostly handles rendering the created debate associated to a participatory
    # process.
    class AdminEngine < ::Rails::Engine
      isolate_namespace Decidim::Debates::Admin

      paths["db/migrate"] = nil
      paths["lib/tasks"] = nil

      routes do
        resources :debates
        root to: "debates#index"
      end

      def load_seed
        nil
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
decidim-debates-0.22.0 lib/decidim/debates/admin_engine.rb
decidim-debates-0.21.0 lib/decidim/debates/admin_engine.rb
decidim-debates-0.20.1 lib/decidim/debates/admin_engine.rb
decidim-debates-0.20.0 lib/decidim/debates/admin_engine.rb
decidim-debates-0.19.1 lib/decidim/debates/admin_engine.rb
decidim-debates-0.18.1 lib/decidim/debates/admin_engine.rb
decidim-debates-0.19.0 lib/decidim/debates/admin_engine.rb
decidim-debates-0.17.2 lib/decidim/debates/admin_engine.rb
decidim-debates-0.18.0 lib/decidim/debates/admin_engine.rb
decidim-debates-0.17.1 lib/decidim/debates/admin_engine.rb
decidim-debates-0.16.1 lib/decidim/debates/admin_engine.rb
decidim-debates-0.17.0 lib/decidim/debates/admin_engine.rb
decidim-debates-0.16.0 lib/decidim/debates/admin_engine.rb
decidim-debates-0.15.2 lib/decidim/debates/admin_engine.rb
decidim-debates-0.15.1 lib/decidim/debates/admin_engine.rb
decidim-debates-0.15.0 lib/decidim/debates/admin_engine.rb
decidim-debates-0.14.4 lib/decidim/debates/admin_engine.rb
decidim-debates-0.14.3 lib/decidim/debates/admin_engine.rb
decidim-debates-0.14.2 lib/decidim/debates/admin_engine.rb
decidim-debates-0.14.1 lib/decidim/debates/admin_engine.rb