themengruppeprivate

This commit is contained in:
2014-05-27 19:42:05 +05:30
parent 13514317c9
commit adfec2446e
9 changed files with 19 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
class Themengruppe < ActiveRecord::Base
WORD_COUNT = 50
attr_accessible :text, :title, :picture, :priority
attr_accessible :text, :title, :picture, :priority, :public
has_many :themen, class_name: 'Thema'
has_many :fragen, through: :themen