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