Sha256: 82eb70f2669a2313039c8f2d6c17e9dfbeefba6c7450d6b2eee25096076529f1
Contents?: true
Size: 572 Bytes
Versions: 5
Compression:
Stored size: 572 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', authenticatable_type: Types::CustomAdminType, skip: [:sign_up, :check_password_token], at: '/api/v1/admin/graphql_auth' ) mount_graphql_devise_for( 'Guest', only: [:login, :logout, :sign_up], at: '/api/v1/guest/graphql_auth' ) post '/api/v1/graphql', to: 'api/v1/graphql#graphql' end
Version data entries
5 entries across 5 versions & 1 rubygems