From a2886c3f98c990c26f2cfffc2f15809ca91d1f36 Mon Sep 17 00:00:00 2001 From: Rafael Martins Date: Sun, 15 Apr 2012 20:09:01 -0300 Subject: [PATCH] Fix for articles apparently not being copied from template --- 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 04d4b22..977d775 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -541,6 +541,7 @@ private :generate_url, :url_options other.top_level_articles.each do |a| copy_article_tree a end + self.articles.reload end def copy_article_tree(article, parent=nil) -- libgit2 0.21.2