diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-16 18:08:46 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-16 18:08:46 +0000 |
commit | aa0f0e992153e84e1cdec8a1c7310d5eb93a9f8f (patch) | |
tree | 4a662bc77fb43e1d1deec78cc7a95d911c0da1c5 /lib/api/wikis.rb | |
parent | d47f9d2304dbc3a23bba7fe7a5cd07218eeb41cd (diff) | |
download | gitlab-ce-aa0f0e992153e84e1cdec8a1c7310d5eb93a9f8f.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/wikis.rb')
-rw-r--r-- | lib/api/wikis.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/wikis.rb b/lib/api/wikis.rb index eb36779e1d7..a2146406690 100644 --- a/lib/api/wikis.rb +++ b/lib/api/wikis.rb @@ -107,8 +107,9 @@ module API delete ':id/wikis/:slug' do authorize! :admin_wiki, user_project - status 204 WikiPages::DestroyService.new(user_project, current_user).execute(wiki_page) + + no_content! end desc 'Upload an attachment to the wiki repository' do |