X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1f2ac59d1d24d75c510412e63070d83af13c6757..78b9d92207bb215459ecff466c3efe2fa6466ab3:/app/controllers/oauth_clients_controller.rb?ds=sidebyside 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