Sha256: d09a68b3b0a965159be4af0cc68a16e9606da37b138e39ea3dc8da9549644dd2
Contents?: true
Size: 602 Bytes
Versions: 24
Compression:
Stored size: 602 Bytes
Contents
# frozen-string_literal: true module Decidim class DemotedMembershipEvent < Decidim::Events::SimpleEvent delegate :url_helpers, to: "Decidim::Core::Engine.routes" i18n_attributes :user_group_name def resource_url url_helpers.group_manage_users_url( user_group_nickname, host: user.organization.host ) end def resource_path url_helpers.group_manage_users_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