Commit 39ad2a1203803cf1e9eb92ce4a5605fb71e36be1

Authored by Antonio Terceiro
1 parent 6738f312

ActionItem1049: don't copy feeds from templates

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/models/profile.rb
... ... @@ -437,6 +437,7 @@ class Profile < ActiveRecord::Base
437 437 end
438 438  
439 439 def copy_article_tree(article, parent=nil)
  440 + return if article.is_a?(RssFeed)
440 441 original_article = self.articles.find_by_name(article.name)
441 442 if original_article
442 443 num = 2
... ...