Sha256: d50844c5638553de9071cc7d477c83b5c018c2c4d8826a2e61e8a25166967027
Contents?: true
Size: 592 Bytes
Versions: 37
Compression:
Stored size: 592 Bytes
Contents
# frozen-string_literal: true module Decidim class PromotedToAdminEvent < 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["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