Bring changes from EE
This commit is contained in:
parent
dd949b0be4
commit
74b5c4daf9
|
@ -160,7 +160,7 @@ class Projects::JobsController < Projects::ApplicationController
|
|||
|
||||
def build
|
||||
@build ||= project.builds.find(params[:id])
|
||||
.present(current_user: current_user)
|
||||
.present(current_user: current_user)
|
||||
end
|
||||
|
||||
def build_path(build)
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue