Sha256: 65e3ae2619fc8457a20021b6c56150ccb456e0c07f0595a75c3ea0870502d044

Contents?: true

Size: 648 Bytes

Versions: 6

Compression:

Stored size: 648 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module DirectVerifications
    module Verification
      class AdminEngine < ::Rails::Engine
        isolate_namespace Decidim::DirectVerifications::Verification::Admin
        paths["db/migrate"] = nil

        routes do
          resources :direct_verifications, only: [:index, :create, :stats]
          resources :stats, only: [:index]

          root to: "direct_verifications#index"
        end

        initializer "decidim_direct_verifications.admin_assets" do |app|
          app.config.assets.precompile += %w(direct_verifications_admin_manifest.js)
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-direct_verifications-0.22.1 lib/decidim/direct_verifications/verification/admin_engine.rb
decidim-direct_verifications-0.22 lib/decidim/direct_verifications/verification/admin_engine.rb
decidim-direct_verifications-0.21 lib/decidim/direct_verifications/verification/admin_engine.rb
decidim-direct_verifications-0.20 lib/decidim/direct_verifications/verification/admin_engine.rb
decidim-direct_verifications-0.17.8 lib/decidim/direct_verifications/verification/admin_engine.rb
decidim-direct_verifications-0.17.7 lib/decidim/direct_verifications/verification/admin_engine.rb