app/models/tramway/profiles/social_network.rb in tramway-profiles-1.0.2 vs app/models/tramway/profiles/social_network.rb in tramway-profiles-1.1
- old
+ new
@@ -1,7 +1,7 @@
class Tramway::Profiles::SocialNetwork < ::Tramway::Core::ApplicationRecord
belongs_to :record, polymorphic: true
- enumerize :network_name, in: [ :vk, :facebook, :twitter ]
+ enumerize :network_name, in: [ :vk, :facebook, :twitter, :instagram ]
#enumerize :record_type, in: ::Tramway::Profiles.records
enumerize :record_type, in: [ 'Tramway::SportSchool::Institution' ], default: 'Tramway::SportSchool::Institution'
end