Chatwoot/app/models/channel/web_widget.rb
Sojan Jose 2099dc01a6
Routine weeding of the codebase (#163)
* Routine weeding of the codebase
* fix the spec
2019-10-20 16:19:12 +05:30

8 lines
186 B
Ruby

module Channel
class WebWidget < ApplicationRecord
self.table_name = 'channel_web_widgets'
belongs_to :account
has_one :inbox, as: :channel, dependent: :destroy
end
end