Sha256: ed818d6972ab4bb4a3e40cdde467b9fd38e9c2c111921f631ce7411cb320af13

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Verifications
    module PostalLetter
      # This is an engine that implements the administration interface for
      # user authorization by postal letter code.
      class AdminEngine < ::Rails::Engine
        isolate_namespace Decidim::Verifications::PostalLetter::Admin

        routes do
          resources :pending_authorizations, only: :index do
            resource :postages, only: :create, as: :postage
          end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-verifications-0.8.0 lib/decidim/verifications/postal_letter/admin_engine.rb