stories: include url to big icon in twitter card
This commit is contained in:
parent
0d66bdc331
commit
0e90347956
|
@ -156,6 +156,8 @@ class StoriesController < ApplicationController
|
||||||
"twitter:title" => @story.title,
|
"twitter:title" => @story.title,
|
||||||
"twitter:description" => "#{@story.comments_count} comment" <<
|
"twitter:description" => "#{@story.comments_count} comment" <<
|
||||||
"#{@story.comments_count == 1 ? "" : "s"}",
|
"#{@story.comments_count == 1 ? "" : "s"}",
|
||||||
|
"twitter:image" => Rails.application.root_url +
|
||||||
|
"apple-touch-icon-144.png",
|
||||||
}
|
}
|
||||||
|
|
||||||
load_user_votes
|
load_user_votes
|
||||||
|
|
Loading…
Reference in a new issue