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,5 +1,5 @@
class Thema < ActiveRecord::Base
attr_accessible :text, :title
attr_accessible :text, :title, :themengruppe_id
has_many :fragen
has_many :attachments
belongs_to :themengruppe, :foreign_key => "themengruppe_id"