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

fix social share helper

parent 9b0a8c01
No related branches found
No related tags found
No related merge requests found
...@@ -50,14 +50,14 @@ module LearningObjectsHelper ...@@ -50,14 +50,14 @@ module LearningObjectsHelper
def social_share(learning_object) def social_share(learning_object)
set_meta_tags og: { set_meta_tags og: {
title: @learning_object.name, title: learning_object.name,
type: 'website', type: 'website',
description: @learning_object.description, description: learning_object.description,
image: @learning_object.thumbnail image: learning_object.default_thumbnail
} }
set_meta_tags fb: { set_meta_tags fb: {
app_id: '745857965514514' app_id: '745857965514514'
} }
end end
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