diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2021-11-26 05:58:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-26 05:58:18 +0100 |
commit | 7de0ee7aba86cffeaeffded7e0699214fb64364e (patch) | |
tree | 117d92cf2099a0b4c9b8e730ef18be80dc0e6f9a /app/controllers/api/proofs_controller.rb | |
parent | 12b3ff6c6d70df1ce34f4b103b519250c9e2d2c8 (diff) |
Remove Keybase integration (#17045)
Diffstat (limited to 'app/controllers/api/proofs_controller.rb')
-rw-r--r-- | app/controllers/api/proofs_controller.rb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/app/controllers/api/proofs_controller.rb b/app/controllers/api/proofs_controller.rb deleted file mode 100644 index dd32cd577..000000000 --- a/app/controllers/api/proofs_controller.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -class Api::ProofsController < Api::BaseController - include AccountOwnedConcern - - skip_before_action :require_authenticated_user! - - before_action :set_provider - - def index - render json: @account, serializer: @provider.serializer_class - end - - private - - def set_provider - @provider = ProofProvider.find(params[:provider]) || raise(ActiveRecord::RecordNotFound) - end - - def username_param - params[:username] - end -end |