Skip to content
Snippets Groups Projects
Commit 009235dc authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

forcing bookmarks collection name

parent f86b9b3d
No related branches found
No related tags found
No related merge requests found
class Bookmarks < Collection
def initialize(params = {})
super(params)
@name = name
end
def name
'Bookmarks'
end
......
......@@ -32,7 +32,7 @@ class Collection
# After remove some learning object to collection, you must use CollectionRepository to persist
# the changes.
def remove(learning_object)
learning_objects.delete_if{|x| x.id == learning_object.id}
learning_objects.delete_if { |x| x.id == learning_object.id }
end
def owner?(user)
......@@ -43,10 +43,6 @@ class Collection
!@name.blank?
end
#def to_orientdb_hash
#
#end
protected
def excluded_orientdb_properties
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment