app/events/decidim/meetings/update_meeting_event.rb in decidim-meetings-0.8.4 vs app/events/decidim/meetings/update_meeting_event.rb in decidim-meetings-0.9.0

- old
+ new

@@ -1,30 +1,8 @@ # frozen_string_literal: true module Decidim module Meetings - class UpdateMeetingEvent < Decidim::Events::BaseEvent - include Decidim::Events::EmailEvent - include Decidim::Events::NotificationEvent - - def email_subject - I18n.t("decidim.meetings.events.update_meeting_event.email_subject", resource_title: resource_title) - end - - def email_intro - I18n.t("decidim.meetings.events.update_meeting_event.email_intro", resource_title: resource_title) - end - - def email_outro - I18n.t("decidim.meetings.events.update_meeting_event.email_outro", resource_title: resource_title) - end - - def notification_title - I18n.t( - "decidim.meetings.events.update_meeting_event.notification_title", - resource_title: resource_title, - resource_path: resource_path - ).html_safe - end + class UpdateMeetingEvent < Decidim::Events::SimpleEvent end end end