Sha256: 35df7c9b7290fe63e92aa45873f158c8181c66e476714d0b143c9e39714328c2
Contents?: true
Size: 279 Bytes
Versions: 9
Compression:
Stored size: 279 Bytes
Contents
# frozen_string_literal: true Ibrain::Core::Engine.routes.draw do if ::Ibrain::Config.api_version.blank? post '/api/graphql', to: 'graphql#execute' else post "/api/#{::Ibrain::Config.api_version.downcase}/graphql", controller: 'graphql', action: 'execute' end end
Version data entries
9 entries across 9 versions & 1 rubygems