class Doorkeeper::AuthorizedApplicationsController
def destroy
def destroy token = AccessToken.authorized_for(params[:id], current_resource_owner) token.revoke redirect_to authorized_applications_path, :notice => "Application revoked." end
def index
def index @applications = Application.authorized_for(current_resource_owner) end