1 # frozen_string_literal: true
 
   3 class Oauth2AuthorizationsController < Doorkeeper::AuthorizationsController
 
   6   prepend_before_action :authorize_web
 
   7   before_action :set_locale
 
   9   allow_all_form_action :only => :new
 
  11   authorize_resource :class => false
 
  13   before_action :check_database_writable