1 # frozen_string_literal: true
 
   3 class FeatureQueriesController < ApplicationController
 
   6   before_action :authorize_web
 
   7   before_action :set_locale
 
   8   before_action -> { check_database_readable(:need_api => true) }
 
   9   before_action :require_oauth
 
  10   before_action :update_totp
 
  11   around_action :web_timeout
 
  12   authorize_resource :class => false