ApiControllers: remove useless meta data
This commit is contained in:
parent
15874fb3ae
commit
f1b923e30f
2 changed files with 0 additions and 11 deletions
|
@ -6,9 +6,6 @@ class API::V1::DossiersController < APIController
|
|||
error code: 401, desc: "Non authorisé"
|
||||
error code: 404, desc: "Procédure inconnue"
|
||||
|
||||
meta champs: {
|
||||
}
|
||||
|
||||
def index
|
||||
procedure = current_administrateur.procedures.find(params[:procedure_id])
|
||||
dossiers = procedure.dossiers.where.not(state: :draft).paginate(page: params[:page])
|
||||
|
@ -25,10 +22,6 @@ class API::V1::DossiersController < APIController
|
|||
error code: 401, desc: "Non authorisé"
|
||||
error code: 404, desc: "Procédure ou dossier inconnu"
|
||||
|
||||
meta champs: {
|
||||
|
||||
}
|
||||
|
||||
def show
|
||||
procedure = current_administrateur.procedures.find(params[:procedure_id])
|
||||
dossier = procedure.dossiers.find(params[:id])
|
||||
|
|
|
@ -5,10 +5,6 @@ class API::V1::ProceduresController < APIController
|
|||
error code: 401, desc: "Non authorisé"
|
||||
error code: 404, desc: "Procédure inconnue"
|
||||
|
||||
meta champs: {
|
||||
|
||||
}
|
||||
|
||||
def show
|
||||
procedure = current_administrateur.procedures.find(params[:id]).decorate
|
||||
|
||||
|
|
Loading…
Reference in a new issue