Commit fed34abc299eaa927bba0c9aca972720c871307f

Authored by Braulio Bhavamitra
1 parent 321fb384

Add search tips settings for products and contents

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
app/models/environment.rb
... ... @@ -247,6 +247,9 @@ class Environment < ActiveRecord::Base
247 247  
248 248 settings_items :enabled_plugins, :type => Array, :default => []
249 249  
  250 + settings_items :search_products_hint, :type => String, :default => ''
  251 + settings_items :search_contents_hint, :type => String, :default => ''
  252 +
250 253 def news_amount_by_folder=(amount)
251 254 settings[:news_amount_by_folder] = amount.to_i
252 255 end
... ...