Skip to content
Snippets Groups Projects
Commit c205b210 authored by Mateus Rambo Strey's avatar Mateus Rambo Strey
Browse files

fix retrievelink method

parent 1816b747
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,10 @@ class LearningObject ...@@ -21,6 +21,10 @@ class LearningObject
super(params.merge(defaults)) super(params.merge(defaults))
end end
def get_retrievelink
attachments.first.retrieve_link
end
def collections def collections
collection_repository.find_by_learning_object self collection_repository.find_by_learning_object self
end end
......
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