X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7dbf8d83369cb73929080c4ba23fdd7dcd0184df..6181919b61ebf3cae4c29e7b19d6af7eceeaf9a9:/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