Commit 5e8611ca9649e7530a4b9ee601e46adc1d677852
1 parent
8cd3d94d
Exists in
staging
and in
4 other branches
community-hub: fix creation of comments for social networks
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/community_hub/tweeter_stream/lib/twurl/request_controller.rb
... | ... | @@ -24,7 +24,7 @@ module Twurl |
24 | 24 | print "#{comment_text}\n" |
25 | 25 | comment = Comment.new |
26 | 26 | comment.title = 'hub-message-twitter' |
27 | - comment.source_id = options.page.id | |
27 | + comment.source = options.page | |
28 | 28 | comment.body = comment_text |
29 | 29 | comment.author_id = options.author_id |
30 | 30 | comment.name = parsed["user"]["name"] | ... | ... |