forked from bofh/fetsite
Beispiele hinzugefügt
This commit is contained in:
7
app/models/beispiel.rb
Normal file
7
app/models/beispiel.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class Beispiel < ActiveRecord::Base
|
||||
has_paper_trail
|
||||
attr_accessible :desc, :name, :file, :lva_id
|
||||
has_attached_file :file
|
||||
belongs_to :lva
|
||||
translates :desc, :fallbacks_for_empty_translations => true
|
||||
end
|
||||
Reference in New Issue
Block a user