config/initializers/tramway.rb in tramway-profiles-1.4.1.3 vs config/initializers/tramway.rb in tramway-profiles-1.4.1.4
- old
+ new
@@ -1,5 +1,9 @@
# frozen_string_literal: true
Rails.application.config.after_initialize do
- Tramway.set_available_models(Tramway::Profiles::SocialNetwork, project: :profiles)
+ Tramway.set_available_models(
+ [
+ Tramway::Profiles::SocialNetwork
+ ], project: :profiles
+ )
end