summaryrefslogtreecommitdiffstats
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-28 07:43:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-28 07:43:22 +0000
commit552926772ad5426f620c733b04a997bdd793151a (patch)
treea04b689cec69798ead5c7322f25721e5879814d9 /app/controllers/projects_controller.rb
parent6671a0c5050ea22435c01272c1b60fa1858136a1 (diff)
downloadredmine-552926772ad5426f620c733b04a997bdd793151a.tar.gz
redmine-552926772ad5426f620c733b04a997bdd793151a.zip
Error raised on project settings after project wiki is deleted (#18429).
git-svn-id: http://svn.redmine.org/redmine/trunk@13660 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r--app/controllers/projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index 11cb91a46..747212927 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -162,7 +162,7 @@ class ProjectsController < ApplicationController
@issue_category ||= IssueCategory.new
@member ||= @project.members.new
@trackers = Tracker.sorted.to_a
- @wiki ||= @project.wiki
+ @wiki ||= @project.wiki || Wiki.new(:project => @project)
end
def edit