diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2017-07-28 15:47:54 -0400 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-07-28 15:47:54 -0400 |
commit | a3fe09e0c6a3deea80318bf776cc17cea30f77c0 (patch) | |
tree | b03320ebfb026eb8043cee85578d45a761a2902b /lib/api/variables.rb | |
parent | 8c2d62aa098e6530d07bf96adfff8dae20ecf83e (diff) | |
parent | d7636a995e59fe4ca2ca885a8438917b326018e0 (diff) | |
download | gitlab-ce-a3fe09e0c6a3deea80318bf776cc17cea30f77c0.tar.gz |
Merge branch 'ide' of gitlab.com:gitlab-org/gitlab-ce into ide
Diffstat (limited to 'lib/api/variables.rb')
-rw-r--r-- | lib/api/variables.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/variables.rb b/lib/api/variables.rb index 7fa528fb2d3..7c0fdd3d1be 100644 --- a/lib/api/variables.rb +++ b/lib/api/variables.rb @@ -88,6 +88,7 @@ module API variable = user_project.variables.find_by(key: params[:key]) not_found!('Variable') unless variable + status 204 variable.destroy end end |