Update wikis_controller.rb

parent 3bf1d4d3
......@@ -100,13 +100,7 @@ class Projects::WikisController < Projects::ApplicationController
status: 302,
notice: "Page was successfully deleted"
rescue Gitlab::Git::Wiki::OperationError => e
<<<<<<< HEAD
@page = build_page(wiki_params)
@error = e
=======
@error = e
>>>>>>> upstream/master
render 'edit'
end
......
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