1 class Oauth2AuthorizationsController < Doorkeeper::AuthorizationsController
4 prepend_before_action :authorize_web
5 before_action :set_locale
7 allow_all_form_action :only => :new
9 authorize_resource :class => false
11 before_action :check_database_writable