From 39ad2a1203803cf1e9eb92ce4a5605fb71e36be1 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Wed, 27 May 2009 18:49:15 -0300 Subject: [PATCH] ActionItem1049: don't copy feeds from templates --- app/models/profile.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/models/profile.rb b/app/models/profile.rb index a00dda4..975c921 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -437,6 +437,7 @@ class Profile < ActiveRecord::Base end def copy_article_tree(article, parent=nil) + return if article.is_a?(RssFeed) original_article = self.articles.find_by_name(article.name) if original_article num = 2 -- libgit2 0.21.2