forked from bofh/fetsite
FIXES:
* Inflections für Thema/Themen etc. * Korrigierte Views
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
class Frage < ActiveRecord::Base
|
||||
has_paper_trail
|
||||
attr_accessible :text, :title
|
||||
belongs_to :thema
|
||||
|
||||
validates :thema, :presence => true
|
||||
validates :title, :prescece => true
|
||||
validates :title, :presence => true
|
||||
|
||||
translates :title,:text, :versioning =>true, :fallbacks_for_empty_translations => true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user