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:
Marius Balteanu
2023-10-23 17:23:37 +00:00
parent c0bc2136c5
commit 5e17a276a8
5 changed files with 20 additions and 4 deletions

View File

@@ -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