parent
151e5744e6
commit
022cf33853
1 changed files with 2 additions and 2 deletions
|
@ -60,11 +60,11 @@ class SupportController < ApplicationController
|
|||
end
|
||||
|
||||
def create_commentaire
|
||||
params = {
|
||||
attributes = {
|
||||
file: params[:file],
|
||||
body: "[#{params[:subject]}]<br><br>#{params[:text]}"
|
||||
}
|
||||
commentaire = CommentaireService.build_with_email(email, dossier, params)
|
||||
commentaire = CommentaireService.build_with_email(email, dossier, attributes)
|
||||
commentaire.save!
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue