Commit 8b13f236 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'unify-some-projects-controllers' into 'master'

Unify some projects controllers

See merge request gitlab-org/gitlab-ce!20157
parents c91957c6 74b5c4da
......@@ -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),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment