Update OAuth inflection to match spec (#35160)

This commit is contained in:
Matt Jankowski 2025-06-25 03:52:30 -04:00 committed by GitHub
commit 47fda2df2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 21 additions and 19 deletions

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true
class Oauth::TokensController < Doorkeeper::TokensController
class OAuth::TokensController < Doorkeeper::TokensController
def revoke
unsubscribe_for_token if token.present? && authorized? && token.accessible?