[GraphQL] expose dossier pdf, geojson and attestation
This commit is contained in:
parent
e3f2421741
commit
0aa06d0197
8 changed files with 129 additions and 3 deletions
|
@ -222,6 +222,8 @@ Rails.application.routes.draw do
|
|||
|
||||
namespace :v2 do
|
||||
post :graphql, to: "graphql#execute"
|
||||
get 'dossiers/pdf/:id', format: :pdf, to: "dossiers#pdf", as: :dossier_pdf
|
||||
get 'dossiers/geojson/:id', to: "dossiers#geojson", as: :dossier_geojson
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue