Sha256: 9596c17fe154eb26d1d6a78cac57f8532c331f2689634ab070a2c1b4cfd45582

Contents?: true

Size: 608 Bytes

Versions: 12

Compression:

Stored size: 608 Bytes

Contents

# frozen_string_literal: true

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

      paths["db/migrate"] = nil

      routes do
        resources :projects do
          resources :attachment_collections
          resources :attachments
        end

        root to: "projects#index"
      end

      def load_seed
        nil
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
decidim-budgets-0.13.1 lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.12.2 lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.13.0 lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.12.1 lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.13.0.pre1 lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.12.0 lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.11.2 lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.12.0.pre lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.11.1 lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.11.0.pre1 lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.10.1 lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.10.0 lib/decidim/budgets/admin_engine.rb