lib/cms/behaviors/connecting.rb in browsercms-3.4.2 vs lib/cms/behaviors/connecting.rb in browsercms-3.5.0.rc1

- old
+ new

@@ -15,13 +15,12 @@ def is_connectable(options={}) @is_connectable = true extend ClassMethods include InstanceMethods - attr_accessor :connect_to_page_id - attr_accessor :connect_to_container - attr_accessor :connected_page - + attr_accessor :connect_to_page_id, :connect_to_container,:connected_page + attr_accessible :connect_to_page_id, :connect_to_container,:connected_page + has_many :connectors, :as => :connectable, :class_name => 'Cms::Connector' attr_accessor :updated_by_page after_create :connect_to_page