Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-06-25 20:33:12 +0300
committerLin Jen-Shin <godfat@godfat.org>2018-06-25 20:33:12 +0300
commit74b5c4daf9cc4f567ccc27767556633abeadbe2c (patch)
tree122ebff1643e6b773298846a508bb79a0b3215e2 /app/controllers/projects/wikis_controller.rb
parentdd949b0be4b2187d01a05ea1ce32abc295077897 (diff)
Bring changes from EE
Diffstat (limited to 'app/controllers/projects/wikis_controller.rb')
-rw-r--r--app/controllers/projects/wikis_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/wikis_controller.rb b/app/controllers/projects/wikis_controller.rb
index 242e6491456..aa844e94d89 100644
--- a/app/controllers/projects/wikis_controller.rb
+++ b/app/controllers/projects/wikis_controller.rb
@@ -95,6 +95,7 @@ class Projects::WikisController < Projects::ApplicationController
def destroy
@page = @project_wiki.find_page(params[:id])
+
WikiPages::DestroyService.new(@project, current_user).execute(@page)
redirect_to project_wiki_path(@project, :home),