Revert "change meetings"

This reverts commit 585b386e7c.

Conflicts:
	app/controllers/neuigkeiten_controller.rb
This commit is contained in:
Andreas Stephanides
2015-01-17 12:16:37 +01:00
parent 9ffebfd4e7
commit 3c2250b4fc
45 changed files with 1 additions and 1046 deletions

View File

@@ -1,11 +0,0 @@
class Fetmeeting < ActiveRecord::Base
attr_accessible :tnlist, :typ, :calentry_attributes
has_many :fetmeetingtops
validates :typ, presence: true
validates :calentry, presence: true
has_one :calentry , as: :object
accepts_nested_attributes_for :calentry
def public
true
end
end

View File

@@ -1,7 +0,0 @@
class Fetmeetingtop < ActiveRecord::Base
attr_accessible :discussion, :ersteller, :fetmeeting_id, :text, :title
belongs_to :fetmeeting
validates :fetmeeting, presence: true
validates :title, presence: true , length:{minimum: 4}
validates :ersteller, presence: true
end