Sha256: 772fc5b623ca8f4e7be819eaf1cb777bb8bcf6c508a432bff56d49cd42823497

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

Rails.application.routes.draw do
  mount_graphql_devise_for 'User', at: '/api/v1/graphql_auth', operations: {
    login:   Mutations::Login,
    sign_up: Mutations::SignUp
  }

  mount_graphql_devise_for(
    'Admin',
    authenticable_type: Types::CustomAdminType,
    at:                 '/api/v1/admin/graphql_auth'
  )

  post '/api/v1/graphql', to: 'api/v1/graphql#graphql'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
graphql_devise-0.3.0 spec/dummy/config/routes.rb