Skip to content
Snippets Groups Projects
Commit f1dda1e0 authored by Marcela Ribeiro de Oliveira's avatar Marcela Ribeiro de Oliveira
Browse files

Fix

parent 1d814ffb
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ class LearningObjectsController < ApplicationController ...@@ -112,7 +112,7 @@ class LearningObjectsController < ApplicationController
def build_subjects(subjects) def build_subjects(subjects)
subjects.map do |subject| subjects.map do |subject|
subject_repository.find subject Topic.find subject
end end
end end
......
class SearchController < ApplicationController class SearchController < ApplicationController
def index def index
@types = learning_object_repository.types @types = LearningObject.default_types
@subjects = Topic.default_list @subjects = Topic.default_list
......
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