Skip to content

Commit 747e6e2

Browse files
committed
Make premade strategy published
1 parent 93a7389 commit 747e6e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/controllers/concerns/strategies_concern.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ def premade_strategy
3535
name: t('strategies.index.premade1_name'),
3636
description: t('strategies.index.premade1_description'),
3737
category: category ? [category.id] : nil,
38-
comment: false
38+
comment: false,
39+
visible: true,
40+
published_at: Time.zone.now
3941
)
4042
end
4143

0 commit comments

Comments
 (0)