Added relation to group.

This commit is contained in:
Martin Edenhofer 2016-06-19 18:58:41 +02:00
parent c5a6e00e81
commit 1e2f1da0aa

View file

@ -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