Sha256: 83fd221e1a8317de14753100c8bf60489a6f6f50af2bce21f9fec138aff415de

Contents?: true

Size: 335 Bytes

Versions: 6

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

Decidim::Api::Engine.routes.draw do
  get "/graphiql", to: "graphiql#show", graphql_path: "/api", as: :graphiql
  get "/docs", to: "documentation#show", as: :documentation
  get "/docs/*path", to: "documentation#show"
  get "/", to: redirect("/api/docs")
  post "/" => "queries#create", :as => :root
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-api-0.29.1 config/routes.rb
decidim-api-0.29.0 config/routes.rb
decidim-api-0.29.0.rc4 config/routes.rb
decidim-api-0.29.0.rc3 config/routes.rb
decidim-api-0.29.0.rc2 config/routes.rb
decidim-api-0.29.0.rc1 config/routes.rb