Sha256: 52fcfe2d8ac0aa11a964ad69dd73d0bbb6fee0eabca4d09c63c079bc836d407f

Contents?: true

Size: 436 Bytes

Versions: 2

Compression:

Stored size: 436 Bytes

Contents

Rails.application.routes.draw do
  get '/logout', to: 'infinum_id/resources#destroy'

  devise_for InfinumId.resource_name.pluralize.underscore, controllers: {
    omniauth_callbacks: 'infinum_id/resources/omniauth_callbacks'
  }

  namespace :infinum_id do
    namespace :api do
      scope '/webhooks', controller: :webhooks do
        post :upsert_resource_callback
        post :update_resource_callback
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
infinum_id-2.2.0 config/routes.rb
infinum_id-2.1.0 config/routes.rb