mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
Traditional Chinese translation update (#39221).
Patch by ChunChang (Nagaharu) Lo. git-svn-id: https://svn.redmine.org/redmine/trunk@22368 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -24,7 +24,9 @@ class WikisController < ApplicationController
|
||||
# Delete a project's wiki
|
||||
def destroy
|
||||
if request.post? && params[:confirm] && @project.wiki
|
||||
@project.wiki.destroy
|
||||
if @project.wiki.destroy
|
||||
Wiki.create_default(@project) unless @wiki
|
||||
end
|
||||
redirect_to project_path(@project)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user