summaryrefslogtreecommitdiff
path: root/lib/api/pages.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/pages.rb')
-rw-r--r--lib/api/pages.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/pages.rb b/lib/api/pages.rb
index 79a6b527581..813307c498f 100644
--- a/lib/api/pages.rb
+++ b/lib/api/pages.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
module API
- class Pages < Grape::API::Instance
+ class Pages < ::API::Base
before do
require_pages_config_enabled!
authenticated_with_can_read_all_resources!