summaryrefslogtreecommitdiff
path: root/lib/api/submodules.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/submodules.rb')
-rw-r--r--lib/api/submodules.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/submodules.rb b/lib/api/submodules.rb
index 72d7d994102..34d21d3d7d8 100644
--- a/lib/api/submodules.rb
+++ b/lib/api/submodules.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
module API
- class Submodules < Grape::API
+ class Submodules < Grape::API::Instance
before { authenticate! }
helpers do