Sha256: 4830cab533c3e0c9ca3b339572f8ad97ebfb2be998e1c92f1be16dfc0e53b9e4
Contents?: true
Size: 427 Bytes
Versions: 4
Compression:
Stored size: 427 Bytes
Contents
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
4 entries across 4 versions & 1 rubygems