Commit fed34abc299eaa927bba0c9aca972720c871307f
1 parent
321fb384
Exists in
master
and in
29 other branches
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,6 +247,9 @@ class Environment < ActiveRecord::Base | ||
247 | 247 | ||
248 | settings_items :enabled_plugins, :type => Array, :default => [] | 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 | def news_amount_by_folder=(amount) | 253 | def news_amount_by_folder=(amount) |
251 | settings[:news_amount_by_folder] = amount.to_i | 254 | settings[:news_amount_by_folder] = amount.to_i |
252 | end | 255 | end |