AutoCommit Sam Jun 20 19:03:05 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-06-20 19:03:05 +02:00
parent bd0f24603e
commit 08c901c04f
5 changed files with 19 additions and 8 deletions

View File

@@ -17,6 +17,7 @@ class Beispiel < ActiveRecord::Base
acts_as_votable
acts_as_flagable
belongs_to :lva
FLAG_ICONS = {"badquality"=>"fa fa-flag", "delete"=>"icon-trash"}
mount_uploader :beispieldatei, AttachmentUploader
validates :beispieldatei, :presence => true