Sha256: 1fd49f57620f8fb25650566d8714c6f6ff44ad6aef0b0b99e45071843b4158f6

Contents?: true

Size: 286 Bytes

Versions: 34

Compression:

Stored size: 286 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 "/", to: redirect("/api/docs")
  post "/" => "queries#create", as: :root
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
decidim-api-0.26.10 config/routes.rb
decidim-api-0.26.9 config/routes.rb
decidim-api-0.26.8 config/routes.rb
decidim-api-0.26.7 config/routes.rb
decidim-api-0.26.5 config/routes.rb
decidim-api-0.26.4 config/routes.rb
decidim-api-0.26.3 config/routes.rb
decidim-api-0.26.2 config/routes.rb
decidim-api-0.26.1 config/routes.rb
decidim-api-0.26.0 config/routes.rb
decidim-api-0.26.0.rc2 config/routes.rb
decidim-api-0.26.0.rc1 config/routes.rb
decidim-api-0.25.2 config/routes.rb
decidim-api-0.25.1 config/routes.rb
decidim-api-0.25.0 config/routes.rb
decidim-api-0.25.0.rc4 config/routes.rb
decidim-api-0.25.0.rc3 config/routes.rb
decidim-api-0.25.0.rc2 config/routes.rb
decidim-api-0.25.0.rc1 config/routes.rb
decidim-api-0.24.3 config/routes.rb