app/models/decidim/conferences/conference_registration.rb in decidim-conferences-0.26.10 vs app/models/decidim/conferences/conference_registration.rb in decidim-conferences-0.27.0.rc1

- old
+ new

@@ -2,11 +2,11 @@ module Decidim module Conferences # The data store for a Registration in the Decidim::Conferences component. class ConferenceRegistration < ApplicationRecord - include Decidim::DataPortability + include Decidim::DownloadYourData belongs_to :conference, foreign_key: "decidim_conference_id", class_name: "Decidim::Conference" belongs_to :user, foreign_key: "decidim_user_id", class_name: "Decidim::User" belongs_to :registration_type, foreign_key: "decidim_conference_registration_type_id", class_name: "Decidim::Conferences::RegistrationType" @@ -17,10 +17,10 @@ def self.user_collection(user) where(decidim_user_id: user.id) end def self.export_serializer - Decidim::Conferences::DataPortabilityConferenceRegistrationSerializer + Decidim::Conferences::DownloadYourDataConferenceRegistrationSerializer end def confirmed? confirmed_at.present? end