Commit 0fdb3b5e authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Adjust conflict on deploy_keys_controller.rb

parent 92dfaa86
......@@ -24,13 +24,9 @@ class Projects::DeployKeysController < Projects::ApplicationController
def create
@key = DeployKeys::CreateService.new(current_user, create_params).execute
<<<<<<< HEAD
if @key.valid?
log_audit_event(@key.title, action: :create)
else
=======
unless @key.valid?
>>>>>>> upstream/master
flash[:alert] = @key.errors.full_messages.join(', ').html_safe
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