support: fix dossier id sent to HelpScout

This commit is contained in:
Chaïb Martinez 2019-02-12 17:01:10 +01:00 committed by Pierre de La Morinerie
parent 55d72554ce
commit 9cf0ec7d02

View file

@ -53,7 +53,7 @@ class SupportController < ApplicationController
phone: params[:phone], phone: params[:phone],
text: params[:text], text: params[:text],
file: params[:file], file: params[:file],
dossier_id: dossier&.id, dossier_id: params[:dossier_id],
browser: browser_name, browser: browser_name,
tags: tags tags: tags
).send_form ).send_form