diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-30 15:08:59 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-30 15:08:59 +0000 |
commit | 038366a0932c5f88019cc3db85382f26af3933e7 (patch) | |
tree | 584aec1f4ca189f85ccd0b067f6c2e712c8fc004 /lib/api/project_export.rb | |
parent | 347876a78ef1cc8b630ad99b919ae0f61abbae68 (diff) | |
download | gitlab-ce-038366a0932c5f88019cc3db85382f26af3933e7.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/project_export.rb')
-rw-r--r-- | lib/api/project_export.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/project_export.rb b/lib/api/project_export.rb index 184f89200ab..76b3dea723a 100644 --- a/lib/api/project_export.rb +++ b/lib/api/project_export.rb @@ -4,6 +4,8 @@ module API class ProjectExport < ::API::Base helpers Helpers::RateLimiter + feature_category :importers + before do not_found! unless Gitlab::CurrentSettings.project_export_enabled? authorize_admin_project |