Sha256: f93305f6a1fa9bf8dfc99c3e013f454db557bfc0ee40c2cee54b26c5c17f39c4

Contents?: true

Size: 637 Bytes

Versions: 59

Compression:

Stored size: 637 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Verifications
    module IdDocuments
      # This is an engine that performs an example user authorization.
      class Engine < ::Rails::Engine
        isolate_namespace Decidim::Verifications::IdDocuments

        paths["db/migrate"] = nil
        paths["lib/tasks"] = nil

        routes do
          resource :authorizations, only: [:new, :create, :edit, :update], as: :authorization do
            collection do
              get :choose
              get :renew
            end
          end

          root to: "authorizations#choose"
        end
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
decidim-verifications-0.29.1 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.28.4 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.27.9 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.29.0 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.28.3 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.27.8 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.29.0.rc4 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.29.0.rc3 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.29.0.rc2 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.29.0.rc1 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.28.2 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.27.7 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.28.1 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.27.6 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.26.10 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.26.9 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.28.0 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.27.5 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.28.0.rc5 lib/decidim/verifications/id_documents/engine.rb
decidim-verifications-0.28.0.rc4 lib/decidim/verifications/id_documents/engine.rb