Class: Decidim::Proposals::ProposalMentionedEvent

Inherits:
Events::SimpleEvent
  • Object
show all
Includes:
ApplicationHelper
Defined in:
decidim-proposals/app/events/decidim/proposals/proposal_mentioned_event.rb

Instance Method Summary collapse

Instance Method Details

#perform_translation?Boolean

Returns:

  • (Boolean)

14
15
16
# File 'decidim-proposals/app/events/decidim/proposals/proposal_mentioned_event.rb', line 14

def perform_translation?
  false
end

#safe_resource_translated_textObject


10
11
12
# File 'decidim-proposals/app/events/decidim/proposals/proposal_mentioned_event.rb', line 10

def safe_resource_translated_text
  resource_text
end