Sha256: 06083cd4f00fbdd82687d86c286d75709793719fab4df8eb119c3871d4e40e30

Contents?: true

Size: 636 Bytes

Versions: 7

Compression:

Stored size: 636 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module AccessRequests
    module Verification
      # This is an engine that implements the administration interface for
      # user authorization by access request.
      class AdminEngine < ::Rails::Engine
        isolate_namespace Decidim::AccessRequests::Verification::Admin
        paths["db/migrate"] = nil

        routes do
          resources :pending_authorizations, only: [:index, :update, :destroy]
          resources :granted_authorizations, only: [:index, :new, :create, :destroy]

          root to: "pending_authorizations#index"
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-access_requests-0.19.1 lib/decidim/access_requests/verification/admin_engine.rb
decidim-access_requests-0.19.0 lib/decidim/access_requests/verification/admin_engine.rb
decidim-access_requests-0.18.0 lib/decidim/access_requests/verification/admin_engine.rb
decidim-access_requests-0.17.0 lib/decidim/access_requests/verification/admin_engine.rb
decidim-access_requests-0.16.1 lib/decidim/access_requests/verification/admin_engine.rb
decidim-access_requests-0.16.0 lib/decidim/access_requests/verification/admin_engine.rb
decidim-access_requests-0.15.0 lib/decidim/access_requests/verification/admin_engine.rb