forked from bofh/fetsite
Revert "change meetings"
This reverts commit 585b386e7c.
Conflicts:
app/controllers/neuigkeiten_controller.rb
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user