Sha256: d88da201224a43ad04d4c0184eca2ef51a4793a6a54206396e6d85cce688b3c2

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

# frozen_string_literal: true

Ibrain::Auth::Engine.routes.draw do
  devise_for :users, controllers: {
    sessions: "ibrain/auth/sessions",
    registrations: "ibrain/auth/registrations",
    },
    path: "api/#{Ibrain::Config.api_version}/users",
    defaults: { format: :json }

  match "api/#{Ibrain::Config.api_version}/users/callback", to: 'sessions#callback', via: 'get'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ibrain-auth-0.3.5 config/routes.rb