X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1f2ac59d1d24d75c510412e63070d83af13c6757..7d31a659ab74488ead3d031dbf43f599c27336f7:/app/controllers/oauth_clients_controller.rb diff --git a/app/controllers/oauth_clients_controller.rb b/app/controllers/oauth_clients_controller.rb index eb427e090..b925002ec 100644 --- a/app/controllers/oauth_clients_controller.rb +++ b/app/controllers/oauth_clients_controller.rb @@ -3,7 +3,8 @@ class OauthClientsController < ApplicationController before_action :authorize_web before_action :set_locale - before_action :require_user + + authorize_resource :class => ClientApplication def index @client_applications = current_user.client_applications