From 5627e415b8704050d67e3160149a8917c269642a Mon Sep 17 00:00:00 2001 From: Aurélio A. Heckert Date: Wed, 26 Jun 2013 16:39:56 -0300 Subject: [PATCH] Add ProductCategoriesBlock to default enterprise creation --- app/models/enterprise.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/models/enterprise.rb b/app/models/enterprise.rb index a8cea65..41e36fb 100644 --- a/app/models/enterprise.rb +++ b/app/models/enterprise.rb @@ -132,8 +132,11 @@ class Enterprise < Organization ] blocks = [ [MainBlock.new], - [ProfileImageBlock.new, LinkListBlock.new(:links => links)], - [] + [ ProfileImageBlock.new, + LinkListBlock.new(:links => links), + ProductCategoriesBlock.new + ], + [LocationBlock.new] ] if !environment.enabled?('disable_products_for_enterprises') blocks[2].unshift ProductsBlock.new -- libgit2 0.21.2