Sha256: 3e79e1444d7bb37ab2b8de3eb4dac1e4b139187c87bb97d134f5af4e3744d6ac
Contents?: true
Size: 660 Bytes
Versions: 9
Compression:
Stored size: 660 Bytes
Contents
# frozen_string_literal: true module Decidim module Verifications module IdDocuments module Admin class PendingAuthorizationsController < Decidim::Admin::ApplicationController layout "decidim/admin/users" def index authorize! :index, Authorization @pending_authorizations = pending_authorizations end private def pending_authorizations Authorizations .new(name: "id_documents", granted: false) .query .where("verification_metadata->'rejected' IS NULL") end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems