From fed34abc299eaa927bba0c9aca972720c871307f Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Mon, 25 Jul 2011 17:54:31 +0000 Subject: [PATCH] Add search tips settings for products and contents --- app/models/environment.rb | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/app/models/environment.rb b/app/models/environment.rb index b3cbdeb..a2e36a4 100644 --- a/app/models/environment.rb +++ b/app/models/environment.rb @@ -247,6 +247,9 @@ class Environment < ActiveRecord::Base settings_items :enabled_plugins, :type => Array, :default => [] + settings_items :search_products_hint, :type => String, :default => '' + settings_items :search_contents_hint, :type => String, :default => '' + def news_amount_by_folder=(amount) settings[:news_amount_by_folder] = amount.to_i end -- libgit2 0.21.2