Skip to content

Commit 7bec721

Browse files
committed
Rubocop fixes
1 parent 6b5c5ff commit 7bec721

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

app/concerns/better_together/primary_community.rb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
# frozen_string_literal: true
2+
13
module BetterTogether
2-
module PrimaryCommunity
4+
module PrimaryCommunity # rubocop:todo Style/Documentation
35
extend ActiveSupport::Concern
46

57
included do
@@ -22,8 +24,8 @@ def self.primary_community_delegation_attrs
2224

2325
def create_primary_community
2426
create_community(
25-
name: name,
26-
description: description,
27+
name:,
28+
description:,
2729
privacy: (respond_to?(:privacy) ? privacy : 'secret'),
2830
**primary_community_extra_attrs
2931
)

0 commit comments

Comments
 (0)