summaryrefslogtreecommitdiff
path: root/lib/api/v3/project_snippets.rb
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2017-02-20 20:32:44 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2017-02-28 08:32:39 +0100
commitc280acb00b3d4f3e071bfd36eecc8fffcebc2bb2 (patch)
treef806ba67c4c22945d8a9e6a66c108d3d37e9bd65 /lib/api/v3/project_snippets.rb
parentf2dd2604134ac62301db765ff0b14ff692e21bd6 (diff)
downloadgitlab-ce-c280acb00b3d4f3e071bfd36eecc8fffcebc2bb2.tar.gz
Backport API to V3
Diffstat (limited to 'lib/api/v3/project_snippets.rb')
-rw-r--r--lib/api/v3/project_snippets.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/v3/project_snippets.rb b/lib/api/v3/project_snippets.rb
index e03e941d30b..809ca4f37ba 100644
--- a/lib/api/v3/project_snippets.rb
+++ b/lib/api/v3/project_snippets.rb
@@ -121,6 +121,8 @@ module API
authorize! :admin_project_snippet, snippet
snippet.destroy
+
+ status(200)
end
desc 'Get a raw project snippet'