Disable host check, fix router url

This commit is contained in:
Pranav Raj Sreepuram
2019-08-19 13:51:20 +05:30
parent 52194116b3
commit fa0904386f
3 changed files with 5 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ class Conversation < ApplicationRecord
belongs_to :account
belongs_to :inbox
belongs_to :assignee, class_name: 'User', optional: true
belongs_to :sender, class_name: 'Contact' #, primary_key: :source_id
belongs_to :sender, class_name: 'Contact', primary_key: :source_id
has_many :messages, dependent: :destroy, autosave: true