openstreetmap-website/app/controllers/oauth2_authorizations_controller.rb

10 lines
241 B
Ruby

class Oauth2AuthorizationsController < Doorkeeper::AuthorizationsController
layout "site"
prepend_before_action :authorize_web
before_action :set_locale
allow_all_form_action :only => :new
authorize_resource :class => false
end