openstreetmap-website/app/controllers/oauth2_authorizations_controller.rb
2021-05-18 12:05:32 +01:00

8 lines
202 B
Ruby

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