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 6b5c5ff commit 7bec721Copy full SHA for 7bec721
app/concerns/better_together/primary_community.rb
@@ -1,5 +1,7 @@
1
+# frozen_string_literal: true
2
+
3
module BetterTogether
- module PrimaryCommunity
4
+ module PrimaryCommunity # rubocop:todo Style/Documentation
5
extend ActiveSupport::Concern
6
7
included do
@@ -22,8 +24,8 @@ def self.primary_community_delegation_attrs
22
24
23
25
def create_primary_community
26
create_community(
- name: name,
- description: description,
27
+ name:,
28
+ description:,
29
privacy: (respond_to?(:privacy) ? privacy : 'secret'),
30
**primary_community_extra_attrs
31
)
0 commit comments