New Feature: Themen/Informationen

This commit is contained in:
HausdorffHimself
2013-08-05 18:31:04 +02:00
parent e3f7d7e472
commit ac4cb5d0fe
96 changed files with 2139 additions and 0 deletions

8
app/models/attachment.rb Normal file
View File

@@ -0,0 +1,8 @@
class Attachment < ActiveRecord::Base
has_paper_trail
attr_accessible :name
belongs_to :thema
validates :thema, :presence => true
validates :name, :presence => true
end