ADD: Informationsseite:

Models für Themengruppen/Themen/FAQs/Attachments
Views für Themengruppen/Themen
This commit is contained in:
HausdorffHimself
2013-08-13 18:31:22 +02:00
parent a2b35d3d60
commit e055b60a53
16 changed files with 101 additions and 62 deletions

View File

@@ -1,6 +1,6 @@
class Themengruppe < ActiveRecord::Base
attr_accessible :text, :title
has_many :themen
has_many :themen, class_name: 'Thema'
has_many :fragen, through: :themen
validates :title, :presence => true