diff --git a/app/models/collections/user_private_context.rb b/app/models/collections/user_private_context.rb index fb60d7df4ca2b253d70e7e2ce67c4be13569fc4a..4cc6817416b8215438e54bc54c12257dcf5d9c87 100644 --- a/app/models/collections/user_private_context.rb +++ b/app/models/collections/user_private_context.rb @@ -3,7 +3,7 @@ # The PublicContext class specify all collections with field privacy=public class Collections::UserPrivateContext < Collections::UserContext - def initialize + def privacy @privacy = 'private' end diff --git a/app/models/collections/user_public_context.rb b/app/models/collections/user_public_context.rb index c5bb5d523706d7b104c6b22dd63e0e55d48d4da4..743875c985e474917157c44d73ca09acb55806ba 100644 --- a/app/models/collections/user_public_context.rb +++ b/app/models/collections/user_public_context.rb @@ -3,7 +3,7 @@ # The PublicContext class specify all collections with field privacy=public class Collections::UserPublicContext < Collections::UserContext - def initialize + def privacy @privacy = 'public' end