diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-10-25 10:30:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-10-25 10:30:39 +0000 |
commit | a9fb11c0f570336ffe39abddfec1241d052ea76d (patch) | |
tree | 0872276b9c1b6cd2b47feef9be37d03b943d42fa /app/models/enabled_module.rb | |
parent | eecec44ed298afdf3e254b1143f209a477a23bd2 (diff) | |
download | redmine-a9fb11c0f570336ffe39abddfec1241d052ea76d.tar.gz redmine-a9fb11c0f570336ffe39abddfec1241d052ea76d.zip |
Fixes project wiki copy.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2969 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/enabled_module.rb')
-rw-r--r-- | app/models/enabled_module.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/enabled_module.rb b/app/models/enabled_module.rb index e18ac3f20..01a9c5bbf 100644 --- a/app/models/enabled_module.rb +++ b/app/models/enabled_module.rb @@ -31,7 +31,8 @@ class EnabledModule < ActiveRecord::Base when 'wiki' # Create a wiki with a default start page if project && project.wiki.nil? - #Wiki.create(:project => project, :start_page => 'Wiki') + logger.debug("after_create module_enabled") + Wiki.create(:project => project, :start_page => 'Wiki') end end end |