app/models/tramway/profiles/social_network.rb in tramway-profiles-1.4.1.1 vs app/models/tramway/profiles/social_network.rb in tramway-profiles-1.4.1.2
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-class Tramway::Profiles::SocialNetwork < ::Tramway::Core::ApplicationRecord
+class Tramway::Profiles::SocialNetwork < ::Tramway::ApplicationRecord
belongs_to :record, polymorphic: true, required: false
enumerize :network_name, in: %i[vk facebook twitter instagram telegram patreon]
enumerize :record_type, in: Tramway::Profiles.records
end