app/models/decidim/conferences/media_link.rb in decidim-conferences-0.22.0 vs app/models/decidim/conferences/media_link.rb in decidim-conferences-0.23.0
- old
+ new
@@ -4,9 +4,12 @@
module Conferences
# The data store for an Invite in the Decidim::Conferences component.
class MediaLink < ApplicationRecord
include Decidim::Traceable
include Decidim::Loggable
+ include Decidim::TranslatableResource
+
+ translatable_fields :title
belongs_to :conference, foreign_key: "decidim_conference_id", class_name: "Decidim::Conference"
def self.log_presenter_class_for(_log)
Decidim::Conferences::AdminLog::MediaLinkPresenter