Sha256: b8d699b771e463f656fd42170619c829187452adf7007e8c0b57a4f3885eb0df
Contents?: true
Size: 787 Bytes
Versions: 10
Compression:
Stored size: 787 Bytes
Contents
# frozen_string_literal: true module Decidim module Verifications module PostalLetter module Admin class PendingAuthorizationsController < Decidim::Admin::ApplicationController layout "decidim/admin/users" include Decidim::Admin::WorkflowsBreadcrumb add_breadcrumb_item_from_menu :workflows_menu 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
10 entries across 10 versions & 1 rubygems