diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2023-10-23 17:31:04 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2023-10-23 17:31:04 +0000 |
commit | 94da4a33f5d9353d4b8228163462d5711721285f (patch) | |
tree | c48b62d5140c95995f224d78cab85f0669cf0c20 /app/models/enabled_module.rb | |
parent | 5e17a276a8ca06b8337f0f71081267b292271a6c (diff) | |
download | redmine-94da4a33f5d9353d4b8228163462d5711721285f.tar.gz redmine-94da4a33f5d9353d4b8228163462d5711721285f.zip |
Revert r22368.
git-svn-id: https://svn.redmine.org/redmine/trunk@22369 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/enabled_module.rb')
-rw-r--r-- | app/models/enabled_module.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/enabled_module.rb b/app/models/enabled_module.rb index 1b97903fb..237563228 100644 --- a/app/models/enabled_module.rb +++ b/app/models/enabled_module.rb @@ -34,7 +34,7 @@ class EnabledModule < ActiveRecord::Base when 'wiki' # Create a wiki with a default start page if project && project.wiki.nil? - Wiki.create_default(project) + Wiki.create(:project => project, :start_page => 'Wiki') end end end |