Sha256: 7c5467a84ef1ad57b9516f05daac91e44f74a7298781b8420b05dd4aa23bf846
Contents?: true
Size: 574 Bytes
Versions: 37
Compression:
Stored size: 574 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["user_group_nickname"] end def user_group_name extra["user_group_name"] end end end
Version data entries
37 entries across 37 versions & 1 rubygems