Sha256: a7cb09942952134decaa6b66cbe6499504c78295e286595debe2a75eca9b59fd
Contents?: true
Size: 601 Bytes
Versions: 6
Compression:
Stored size: 601 Bytes
Contents
# frozen_string_literal: true module Decidim module Conferences class ConferenceRoleAssignedEvent < Decidim::Events::SimpleEvent include Decidim::Events::AuthorEvent def i18n_role I18n.t(extra["role"], scope: "decidim.admin.models.conference_user_role.roles", default: extra["role"]) end def i18n_options { resource_path:, resource_title:, resource_url:, scope: event_name, participatory_space_title:, participatory_space_url:, role: i18n_role } end end end end
Version data entries
6 entries across 6 versions & 1 rubygems