diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/settings.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/api/settings.rb b/lib/api/settings.rb index 28c7a05c629..4aa81bf8bab 100644 --- a/lib/api/settings.rb +++ b/lib/api/settings.rb @@ -1,7 +1,6 @@ module API class Settings < Grape::API - before { authenticate! } - before { authorize_admin_project } + before { authenticated_as_admin! } helpers do def current_settings |