Lecturer in Lva eingebunden, Image thumb integriert

This commit is contained in:
Thomas Blazek
2013-08-21 13:48:49 +02:00
parent ff4a14a350
commit 04b91b9f33
6 changed files with 68 additions and 33 deletions

View File

@@ -1,4 +1,6 @@
class Lecturer < ActiveRecord::Base
attr_accessible :email, :name, :oid, :picture, :lva_ids
attr_accessible :email, :name, :oid, :picture, :remove_picture, :picture_cache, :lva_ids, :link
has_and_belongs_to_many :lvas
mount_uploader :picture, PictureUploader
resourcify
end