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.7.4 config/routes.rb
decidim-api-0.7.3 config/routes.rb
decidim-api-0.7.2 config/routes.rb
decidim-api-0.7.1 config/routes.rb
decidim-api-0.7.0 config/routes.rb
decidim-api-0.6.8 config/routes.rb
decidim-0.6.8 decidim-api/config/routes.rb
decidim-api-0.6.7 config/routes.rb
decidim-0.6.7 decidim-api/config/routes.rb
decidim-api-0.6.6 config/routes.rb
decidim-0.6.6 decidim-api/config/routes.rb
decidim-api-0.6.5 config/routes.rb
decidim-0.6.5 decidim-api/config/routes.rb
decidim-api-0.6.4 config/routes.rb
decidim-0.6.4 decidim-api/config/routes.rb
decidim-api-0.6.3 config/routes.rb
decidim-0.6.3 decidim-api/config/routes.rb
decidim-api-0.6.2 config/routes.rb
decidim-0.6.2 decidim-api/config/routes.rb
decidim-api-0.6.1 config/routes.rb