Sha256: 921633a176ff9a1201ee625493891e3589437ace4cfe6f30ca1a7be7bc06ea75
Contents?: true
Size: 458 Bytes
Versions: 18
Compression:
Stored size: 458 Bytes
Contents
# frozen_string_literal: true module ActionDispatch::Routing class Mapper def mount_graphql_devise_for(resource, options = {}) clean_options = GraphqlDevise::ResourceLoader.new(resource, options, true).call( GraphqlDevise::Types::QueryType, GraphqlDevise::Types::MutationType ) post clean_options.at, to: 'graphql_devise/graphql#auth' get clean_options.at, to: 'graphql_devise/graphql#auth' end end end
Version data entries
18 entries across 18 versions & 1 rubygems