Sha256: 1410ebc78b5fd534e0a6bb92676a14a9ba1442512187f2998f2a0167c12b33bc

Contents?: true

Size: 296 Bytes

Versions: 85

Compression:

Stored size: 296 Bytes

Contents

# frozen_string_literal: true

Decidim::Api::Engine.routes.draw do
  mount GraphiQL::Rails::Engine, at: "/graphiql", 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

85 entries across 85 versions & 2 rubygems

Version Path
decidim-api-0.21.0 config/routes.rb
decidim-api-0.20.1 config/routes.rb
decidim-api-0.20.0 config/routes.rb
decidim-api-0.19.1 config/routes.rb
decidim-api-0.18.1 config/routes.rb
decidim-api-0.19.0 config/routes.rb
decidim-api-0.17.2 config/routes.rb
decidim-api-0.18.0 config/routes.rb
decidim-api-0.17.1 config/routes.rb
decidim-api-0.16.1 config/routes.rb
decidim-api-0.17.0 config/routes.rb
decidim-api-0.16.0 config/routes.rb
decidim-api-0.15.2 config/routes.rb
decidim-api-0.15.1 config/routes.rb
decidim-api-0.15.0 config/routes.rb
decidim-api-0.14.4 config/routes.rb
decidim-api-0.14.3 config/routes.rb
decidim-api-0.14.2 config/routes.rb
decidim-api-0.14.1 config/routes.rb
decidim-api-0.13.1 config/routes.rb