Commit 5627e415b8704050d67e3160149a8917c269642a
1 parent
22eb134c
Exists in
master
and in
29 other branches
Add ProductCategoriesBlock to default enterprise creation
ActionItem896
Showing
1 changed file
with
5 additions
and
2 deletions
Show diff stats
app/models/enterprise.rb
@@ -132,8 +132,11 @@ class Enterprise < Organization | @@ -132,8 +132,11 @@ class Enterprise < Organization | ||
132 | ] | 132 | ] |
133 | blocks = [ | 133 | blocks = [ |
134 | [MainBlock.new], | 134 | [MainBlock.new], |
135 | - [ProfileImageBlock.new, LinkListBlock.new(:links => links)], | ||
136 | - [] | 135 | + [ ProfileImageBlock.new, |
136 | + LinkListBlock.new(:links => links), | ||
137 | + ProductCategoriesBlock.new | ||
138 | + ], | ||
139 | + [LocationBlock.new] | ||
137 | ] | 140 | ] |
138 | if !environment.enabled?('disable_products_for_enterprises') | 141 | if !environment.enabled?('disable_products_for_enterprises') |
139 | blocks[2].unshift ProductsBlock.new | 142 | blocks[2].unshift ProductsBlock.new |