Respect dossier.messagerie_available? in SupportController (/contact)
This commit is contained in:
parent
12008728d2
commit
72fd5d250f
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class SupportController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def direct_message?
|
def direct_message?
|
||||||
user_signed_in? && params[:type] == Helpscout::FormAdapter::TYPE_INSTRUCTION && dossier.present? && !dossier.brouillon?
|
user_signed_in? && params[:type] == Helpscout::FormAdapter::TYPE_INSTRUCTION && dossier.present? && dossier.messagerie_available?
|
||||||
end
|
end
|
||||||
|
|
||||||
def dossier
|
def dossier
|
||||||
|
|
Loading…
Reference in a new issue