Add graphql end point

This commit is contained in:
Paul Chavard 2018-11-19 21:18:17 +01:00
parent 5a7eb734ff
commit bf6fbbf2b6
3 changed files with 69 additions and 0 deletions

View file

@ -225,6 +225,10 @@ Rails.application.routes.draw do
resources :dossiers, only: [:index, :show]
end
end
namespace :v2 do
post :graphql, to: "graphql#execute"
end
end
#