Revert "removecomments"

This reverts commit 6ee1468ce3.
This commit is contained in:
Andreas Stephanides
2014-10-17 09:54:39 +02:00
parent 3a8f84d9b4
commit 699517fb56
19 changed files with 296 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ class Beispiel < ActiveRecord::Base
attr_accessible :desc, :name, :lva_id, :beispieldatei, :beispieldatei_cache, :datum
acts_as_votable
belongs_to :lva
include IsCommentable
mount_uploader :beispieldatei, AttachmentUploader
validates :beispieldatei, :presence => true
validates :name, :presence => true