Commit 5c20a3d198ff9e155a01abd72135b7115d252350
1 parent
7efb0b86
Exists in
community_hub_submodule
community-hub: fix creation of comments for social networks
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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"] | ... | ... |