Skip to content

Commit

Permalink
[fix] discussion gws seed
Browse files Browse the repository at this point in the history
  • Loading branch information
itowtips committed Dec 22, 2017
1 parent 5682150 commit 602a2a9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions db/seeds/gws/contents.rb
Expand Up @@ -168,12 +168,10 @@ def create_discussion_forum(data)

@ds_forums = [
create_discussion_forum(
name: 'サイト改善プロジェクト', depth: 1,
readable_setting_range: 'select', readable_member_ids: @users.map(&:id)
name: 'サイト改善プロジェクト', depth: 1, member_ids: @users.map(&:id)
),
create_discussion_forum(
name: 'シラサギプロジェクト', depth: 1,
readable_setting_range: 'select', readable_group_ids: [g('シラサギ市/企画政策部/政策課').id]
name: 'シラサギプロジェクト', depth: 1, member_custom_group_ids: [@cgroups.first.id]
)
]

Expand Down

0 comments on commit 602a2a9

Please sign in to comment.