diff --git a/db/migrate/20140728000001_update_setting1.rb b/db/migrate/20140728000001_update_setting1.rb index 88eb5991a..5f5578180 100644 --- a/db/migrate/20140728000001_update_setting1.rb +++ b/db/migrate/20140728000001_update_setting1.rb @@ -1,7 +1,7 @@ class UpdateSetting1 < ActiveRecord::Migration def up Setting.create_if_not_exists( - :title => 'Send client stats.', + :title => 'Send client stats', :name => 'ui_send_client_stats', :area => 'System::UI', :description => 'Send client stats to central server.', @@ -23,7 +23,7 @@ class UpdateSetting1 < ActiveRecord::Migration :frontend => true ) Setting.create_if_not_exists( - :title => 'Client storage.', + :title => 'Client storage', :name => 'ui_client_storage', :area => 'System::UI', :description => 'Use client storage to cache data to perform speed of application.', diff --git a/db/seeds.rb b/db/seeds.rb index 90a430315..72935b9da 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -179,7 +179,7 @@ Setting.create_if_not_exists( ) Setting.create_if_not_exists( - :title => 'Send client stats.', + :title => 'Send client stats', :name => 'ui_send_client_stats', :area => 'System::UI', :description => 'Send client stats to central server.', @@ -201,7 +201,7 @@ Setting.create_if_not_exists( :frontend => true ) Setting.create_if_not_exists( - :title => 'Client storage.', + :title => 'Client storage', :name => 'ui_client_storage', :area => 'System::UI', :description => 'Use client storage to cache data to perform speed of application.',