Sha256: fe064c1be1d1df4601ef5acf631a7afe3d2f10806457a6bb7d979bbc239a9bf1

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 Bytes

Contents

Rails.application.routes.draw do
  devise_for :users, controllers: {
    omniauth_callbacks: 'infinum_id/users/omniauth_callbacks'
  }

  get '/logout', to: 'infinum_id/users#destroy'

  namespace :api do
    scope '/webhooks', :controller => :webhooks do
      post :update_user_callback
      post :create_user_callback
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
infinum_id-1.3.1 config/routes.rb
infinum_id-1.3.0 config/routes.rb
infinum_id-1.2.0 config/routes.rb