Commit 25b98859a8c8d6a8c4f965b390ae6a014e5d2068
Exists in
master
and in
29 other branches
Merge branch 'stable' of gitlab.com:noosfero/noosfero into stable
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/product_categories_block.rb
@@ -33,7 +33,7 @@ class ProductCategoriesBlock < Block | @@ -33,7 +33,7 @@ class ProductCategoriesBlock < Block | ||
33 | end | 33 | end |
34 | end | 34 | end |
35 | 35 | ||
36 | - DISPLAY_OPTIONS['catalog_only'] = __('Only on the catalog') | 36 | + DISPLAY_OPTIONS = DISPLAY_OPTIONS.merge('catalog_only' => _('Only on the catalog')) |
37 | 37 | ||
38 | def display | 38 | def display |
39 | settings[:display].nil? ? 'catalog_only' : super | 39 | settings[:display].nil? ? 'catalog_only' : super |