diff --git a/app/models/external_feed.rb b/app/models/external_feed.rb index 6513346..e70d9f2 100644 --- a/app/models/external_feed.rb +++ b/app/models/external_feed.rb @@ -14,6 +14,7 @@ class ExternalFeed < ActiveRecord::Base article = TinyMceArticle.new(:name => title, :profile => blog.profile, :body => content, :published_at => date, :source => link, :profile => blog.profile, :parent => blog) unless blog.children.exists?(:slug => article.slug) article.save! + article.delay.create_activity end end -- libgit2 0.21.2