fixed the conversations create
This commit is contained in:
parent
ba15ea940b
commit
8775ab9d69
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ class ConversationsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def create
|
def create
|
||||||
|
params[:contact_ids] = params[:as_values_contact_ids]
|
||||||
person_ids = Contact.where(:id => params[:contact_ids].split(',')).map! do |contact|
|
person_ids = Contact.where(:id => params[:contact_ids].split(',')).map! do |contact|
|
||||||
contact.person_id
|
contact.person_id
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue