Sha256: b8699e6d9ae959a6f406db82b071ebd5c30d5a4e6723a1ce3170289370e22526
Contents?: true
Size: 582 Bytes
Versions: 24
Compression:
Stored size: 582 Bytes
Contents
# frozen-string_literal: true module Decidim class JoinRequestAcceptedEvent < Decidim::Events::SimpleEvent delegate :url_helpers, to: "Decidim::Core::Engine.routes" i18n_attributes :user_group_name def resource_url url_helpers.profile_url( user_group_nickname, host: user.organization.host ) end def resource_path url_helpers.profile_path(user_group_nickname) end def user_group_nickname extra.dig("user_group_nickname") end def user_group_name extra.dig("user_group_name") end end end
Version data entries
24 entries across 24 versions & 1 rubygems