change site model
This commit is contained in:
parent
5e7873285f
commit
260e4ee606
|
@ -22,7 +22,7 @@ class Site
|
||||||
field :site_active, :type => Boolean
|
field :site_active, :type => Boolean
|
||||||
field :frontend_open, :type => Boolean, :default => true
|
field :frontend_open, :type => Boolean, :default => true
|
||||||
field :backend_openness_on, :type => Boolean, :default => false
|
field :backend_openness_on, :type => Boolean, :default => false
|
||||||
field :mobile_api_openness_on, :type => Boolean, :default => false
|
field :mobile_api_openness_on, :type => Boolean, :default => false
|
||||||
field :desktop_closed, :type => Boolean, :default => false
|
field :desktop_closed, :type => Boolean, :default => false
|
||||||
field :enable_language_detection, :type => Boolean, :default => false
|
field :enable_language_detection, :type => Boolean, :default => false
|
||||||
field :enable_redirect_index, :type => Boolean, :default => true
|
field :enable_redirect_index, :type => Boolean, :default => true
|
||||||
|
@ -50,11 +50,11 @@ class Site
|
||||||
field :google_client_id
|
field :google_client_id
|
||||||
field :google_client_secret
|
field :google_client_secret
|
||||||
field :meta_tags
|
field :meta_tags
|
||||||
field :every_page_sharer, type: Array, :default => ["facebook","twitter","google","printer"]
|
field :every_page_sharer, type: Array, :default => ["facebook","line","twitter","google","printer"]
|
||||||
|
|
||||||
field :sync_enabled, type: Boolean, :default => false
|
field :sync_enabled, type: Boolean, :default => false
|
||||||
field :sync_rake_task
|
field :sync_rake_task
|
||||||
|
|
||||||
field :month_traffic_cache
|
field :month_traffic_cache
|
||||||
field :home_link, :type => String, :default=>"/"
|
field :home_link, :type => String, :default=>"/"
|
||||||
field :home_link_1, :type => String, :default=>"/"
|
field :home_link_1, :type => String, :default=>"/"
|
||||||
|
|
Loading…
Reference in New Issue