Commit d1eb3ff5 authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Make ruby lint happy

parent 87229cb0
...@@ -116,6 +116,7 @@ module API ...@@ -116,6 +116,7 @@ module API
result = deploy_keys_project.update_attributes(can_push: can_push, result = deploy_keys_project.update_attributes(can_push: can_push,
deploy_key_attributes: { id: params[:key_id], deploy_key_attributes: { id: params[:key_id],
title: title }) title: title })
if result if result
present deploy_keys_project, with: Entities::DeployKeysProject present deploy_keys_project, with: Entities::DeployKeysProject
else else
......
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