diff options
author | Travis Miller <travis@travismiller.com> | 2018-02-28 21:32:03 -0600 |
---|---|---|
committer | Travis Miller <travis@travismiller.com> | 2018-02-28 21:32:03 -0600 |
commit | 2f732a55e1172eac037efa183fb825ba1d533f3a (patch) | |
tree | 3c178e6a5ba5542b9a90b99bbff6f157e91ff338 /lib/api | |
parent | 60642307c7bb0fe1917324966ed01393f3d25076 (diff) | |
download | gitlab-ce-2f732a55e1172eac037efa183fb825ba1d533f3a.tar.gz |
review: remove un-necessary current_application_settings
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/project_export.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/project_export.rb b/lib/api/project_export.rb index 4041faae971..6ec2626df1a 100644 --- a/lib/api/project_export.rb +++ b/lib/api/project_export.rb @@ -1,7 +1,7 @@ module API class ProjectExport < Grape::API before do - not_found! unless Gitlab::CurrentSettings.current_application_settings.project_export_enabled? + not_found! unless Gitlab::CurrentSettings.project_export_enabled? authorize_admin_project end |