fixed tweet not tweeting

This commit is contained in:
nilsding 2014-12-27 21:03:18 +01:00
parent a487ed7f69
commit 3046a5e4b3
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class Services::Twitter < Service
host: APP_CONFIG['hostname'], host: APP_CONFIG['hostname'],
protocol: (APP_CONFIG['https'] ? :https : :http) protocol: (APP_CONFIG['https'] ? :https : :http)
) )
"#{question_content[0..55]}#{'…' if question_content.length > 56}" \ "#{question_content[0..54]}#{'…' if question_content.length > 55}" \
"#{answer_content[0..55]}#{'…' if answer_content.length > 56} #{answer_url}" "#{answer_content[0..55]}#{'…' if answer_content.length > 56} #{answer_url}"
end end
end end