Sha256: a774ece8c22a16df877bd5d0d3144215694c1cb0838e0d980b6941cf451e2499
Contents?: true
Size: 708 Bytes
Versions: 37
Compression:
Stored size: 708 Bytes
Contents
# frozen-string_literal: true module Decidim class InvitedToGroupEvent < Decidim::Events::SimpleEvent delegate :url_helpers, to: "Decidim::Core::Engine.routes" i18n_attributes :user_group_name i18n_attributes :groups_profile_tab_path 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 groups_profile_tab_path url_helpers.profile_groups_path(user.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