We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6f7f7e commit 15ca1a1Copy full SHA for 15ca1a1
app/models/concerns/better_together/primary_community.rb
@@ -37,7 +37,7 @@ def create_primary_community
37
38
create_community(
39
name:,
40
- description:,
+ description: (respond_to?(:description) ? description : "#{name}'s primary community"),
41
creator_id: (respond_to?(:creator_id) ? creator_id : nil),
42
privacy: (respond_to?(:privacy) ? privacy : 'private'),
43
**primary_community_extra_attrs
0 commit comments