forked from bofh/fetsite
Saveguaring Modul und LVA
This commit is contained in:
@@ -16,6 +16,8 @@ class Modul < ActiveRecord::Base
|
||||
has_and_belongs_to_many :lvas
|
||||
has_and_belongs_to_many :modulgruppen
|
||||
|
||||
validates :modulgruppen, :presence=>true
|
||||
validates_presence_of :name
|
||||
translates :desc,:depend,:name, :versioning =>true, :fallbacks_for_empty_translations => true
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user