Sha256: 65f4ced7147ad6b1ef57b99849fad5d261bc9cdd0d1740f6cb3c89c18d574604

Contents?: true

Size: 453 Bytes

Versions: 4

Compression:

Stored size: 453 Bytes

Contents

# frozen_string_literal: true
module Decidim
  module Proposals
    # This is the engine that runs on the public interface of `decidim-proposals`.
    class AdminEngine < ::Rails::Engine
      isolate_namespace Decidim::Proposals::Admin

      paths["db/migrate"] = nil

      routes do
        resources :proposals, only: [:index, :new, :create]
        root to: "proposals#index"
      end

      def load_seed
        nil
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
decidim-proposals-0.0.2 lib/decidim/proposals/admin_engine.rb
decidim-0.0.2 decidim-proposals/lib/decidim/proposals/admin_engine.rb
decidim-proposals-0.0.1 lib/decidim/proposals/admin_engine.rb
decidim-0.0.1 decidim-proposals/lib/decidim/proposals/admin_engine.rb