feat: answer message to administrateur as gestionnaire
This commit is contained in:
parent
b19413643c
commit
a6ca4b668e
25 changed files with 321 additions and 12 deletions
|
@ -12,7 +12,7 @@ module Administrateurs
|
|||
end
|
||||
|
||||
def commentaires
|
||||
@commentaire = Commentaire.new
|
||||
@commentaire = CommentaireGroupeGestionnaire.new
|
||||
end
|
||||
|
||||
def create_commentaire
|
||||
|
@ -42,7 +42,7 @@ module Administrateurs
|
|||
end
|
||||
|
||||
def commentaire_params
|
||||
params.require(:commentaire).permit(:body)
|
||||
params.require(:commentaire_groupe_gestionnaire).permit(:body)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue