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

temporary fix for learning objects helper

parent a3106203
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ module LearningObjectsHelper
end
def learning_object_thumbnail(learning_object, size = "")
if learning_object.thumbnail.nil?
if learning_object.thumbnail.nil? || learning_object.thumbnail == "thumbnai" # TODO: remove "thumbnai" when possible
if size == "large"
image_tag('learning-object-preview-large.png')
else
......
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