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

change learning object like method comment

parent d58758d2
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ module OrientDb
#
# Usage:
# repository.for(:learning_objects).like @learning_object, current_user
# repository.for(:learning_objects).like current_user, @learning_object
#
def like(user, learning_object)
create_edge "Likes", user.rid, learning_object.id
......
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