diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-01-17 16:42:32 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-01-17 16:42:32 +0300 |
commit | d1eb3ff594b42d6e9625724119f52d3356045870 (patch) | |
tree | bde5a5f9e120b385dbdb9ee113a9d7465028d069 /lib | |
parent | 87229cb08b6ed06d92c2cd0990c148f7849c079e (diff) |
Make ruby lint happy
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/deploy_keys.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/deploy_keys.rb b/lib/api/deploy_keys.rb index a92f17937b8..b0b7b50998f 100644 --- a/lib/api/deploy_keys.rb +++ b/lib/api/deploy_keys.rb @@ -116,6 +116,7 @@ module API result = deploy_keys_project.update_attributes(can_push: can_push, deploy_key_attributes: { id: params[:key_id], title: title }) + if result present deploy_keys_project, with: Entities::DeployKeysProject else |