Sha256: 6fd8736c586b019537d7fe5676e1ca8d63fc8e687d09afbfec9477cfdb0d4c22
Contents?: true
Size: 476 Bytes
Versions: 80
Compression:
Stored size: 476 Bytes
Contents
# frozen-string_literal: true module Decidim class ProfileUpdatedEvent < Decidim::Events::SimpleEvent i18n_attributes :nickname, :name delegate :profile_path, :profile_url, :nickname, :name, to: :updated_user def resource_path profile_path end def resource_title name end def resource_url profile_url end private def updated_user @updated_user ||= Decidim::UserPresenter.new(resource) end end end
Version data entries
80 entries across 80 versions & 1 rubygems