Sha256: 09be3b7ebc49f856f35a50139d11b417e98b0ad1b24399f63e130477c31606a4

Contents?: true

Size: 703 Bytes

Versions: 4

Compression:

Stored size: 703 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ActionDelegator
    module Verifications
      module DelegationsVerifier
        # This is an engine that authorizes users by sending them a code through an SMS.
        class Engine < ::Rails::Engine
          isolate_namespace Decidim::ActionDelegator::Verifications::DelegationsVerifier

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

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

            root to: "authorizations#new"
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-action_delegator-0.8.1 lib/decidim/action_delegator/verifications/delegations_verifier/engine.rb
decidim-action_delegator-0.7.2 lib/decidim/action_delegator/verifications/delegations_verifier/engine.rb
decidim-action_delegator-0.7.1 lib/decidim/action_delegator/verifications/delegations_verifier/engine.rb
decidim-action_delegator-0.7.0 lib/decidim/action_delegator/verifications/delegations_verifier/engine.rb