Added relation to group.
This commit is contained in:
parent
c5a6e00e81
commit
1e2f1da0aa
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ class Channel < ApplicationModel
|
||||||
load 'channel/assets.rb'
|
load 'channel/assets.rb'
|
||||||
include Channel::Assets
|
include Channel::Assets
|
||||||
|
|
||||||
|
belongs_to :group, class_name: 'Group'
|
||||||
|
|
||||||
store :options
|
store :options
|
||||||
store :preferences
|
store :preferences
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue