diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 79a2287e90915f6b76eea9a8e38bdd3dd0bee48e..c6e45098e8adf199945de3c902237e366256ce12 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -23,16 +23,18 @@ class UsersController < ApplicationController def me @objects = learning_object_repository.all_from_offset_to_limit 0, 10 @new_collection = Collection.new - @new_collection.name = 'Favoritos' + @bookmarks = Collection.new(name: 'Favoritos') + @add1 = Collection.new(name: 'Aula fÃsica quantica - turma b') + @add2 = Collection.new(name: 'Aula segunda lei de newton - turma a') @groups = [ CollectionsGroup.new(title: 'Coleções Automáticas', collections: [ - @new_collection + @bookmarks ]), - CollectionsGroup.new(title: 'Coleções adicionadas', + CollectionsGroup.new(title: 'Coleções Adicionadas', collections: [ - @new_collection + @add1, @add2 ]) ] end