Sha256: fbc78e4aabe0afbed72320ea707bcabaf2abe34d4c778f87fc1b6d773f3b1e8b

Contents?: true

Size: 675 Bytes

Versions: 75

Compression:

Stored size: 675 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Verifications
    module PostalLetter
      module Admin
        class PendingAuthorizationsController < Decidim::Admin::ApplicationController
          layout "decidim/admin/users"

          def index
            enforce_permission_to :index, :authorization

            @pending_authorizations = AuthorizationPresenter.for_collection(
              pending_authorizations
            )
          end

          private

          def pending_authorizations
            Authorizations.new(organization: current_organization, name: "postal_letter", granted: false)
          end
        end
      end
    end
  end
end

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
decidim-verifications-0.27.0.rc2 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.27.0.rc1 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.26.2 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.26.1 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.26.0 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.26.0.rc2 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.26.0.rc1 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.25.2 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.25.1 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.25.0 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.25.0.rc4 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.25.0.rc3 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.25.0.rc2 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.25.0.rc1 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.24.3 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.23.6 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.24.2 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.23.5 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.24.1 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb
decidim-verifications-0.24.0 app/controllers/decidim/verifications/postal_letter/admin/pending_authorizations_controller.rb