From eb66bb8bc0d075e61517a0b3c2fff5fb58800a29 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Thu, 3 Jul 2014 21:04:27 +0000 Subject: [PATCH] product-categories-block: change the way display_options is extended --- app/models/product_categories_block.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/product_categories_block.rb b/app/models/product_categories_block.rb index c67a499..c361c07 100644 --- a/app/models/product_categories_block.rb +++ b/app/models/product_categories_block.rb @@ -33,7 +33,7 @@ class ProductCategoriesBlock < Block end end - DISPLAY_OPTIONS['catalog_only'] = __('Only on the catalog') + DISPLAY_OPTIONS = DISPLAY_OPTIONS.merge('catalog_only' => _('Only on the catalog')) def display settings[:display].nil? ? 'catalog_only' : super -- libgit2 0.21.2