Sha256: d1c34ea48e17d41c030550bf160042241bda7e4c9df4607d5a05a0f61075c560

Contents?: true

Size: 563 Bytes

Versions: 11

Compression:

Stored size: 563 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 :attachments
        end

        root to: "projects#index"
      end

      def load_seed
        nil
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
decidim-budgets-0.1.0 lib/decidim/budgets/admin_engine.rb
decidim-0.1.0 decidim-budgets/lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.0.8.1 lib/decidim/budgets/admin_engine.rb
decidim-0.0.8.1 decidim-budgets/lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.0.7 lib/decidim/budgets/admin_engine.rb
decidim-0.0.7 decidim-budgets/lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.0.6 lib/decidim/budgets/admin_engine.rb
decidim-0.0.6 decidim-budgets/lib/decidim/budgets/admin_engine.rb
decidim-budgets-0.0.5 lib/decidim/budgets/admin_engine.rb
decidim-0.0.5 decidim-budgets/lib/decidim/budgets/admin_engine.rb
decidim-0.0.4 decidim-budgets/lib/decidim/budgets/admin_engine.rb