Skip to content
Snippets Groups Projects
Commit b55fec2a authored by Matheus Agio Nerone's avatar Matheus Agio Nerone
Browse files

change general highlights quantity

parent 6f5bcbf3
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,8 @@ class WelcomeController < ApplicationController
learning_object_repository.find(id)
end
@General = @General.take(3)
@Subjects = subject_repository.all
@Subjects.delete_if{|s| not s.highlights.present?}
@Subjects = @Subjects.take(8)
......
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