Sha256: 664b3d90ae008eec30f7f3edb118bd6817341791037e1274f9f325a5142f1a31

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

# frozen_string_literal: true
require "kaminari"

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

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
decidim-proposals-0.0.1 lib/decidim/proposals/engine.rb
decidim-0.0.1 decidim-proposals/lib/decidim/proposals/engine.rb