Set the default from address as consul.dev

This commit is contained in:
Fernando Blat
2016-12-23 15:46:39 +01:00
parent 85ce7d7227
commit 05a00df8ed
2 changed files with 2 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ Setting.create(key: 'feature.google_login', value: "true")
Setting.create(key: 'per_page_code', value: "") Setting.create(key: 'per_page_code', value: "")
Setting.create(key: 'comments_body_max_length', value: '1000') Setting.create(key: 'comments_body_max_length', value: '1000')
Setting.create(key: 'mailer_from_name', value: 'Consul') Setting.create(key: 'mailer_from_name', value: 'Consul')
Setting.create(key: 'mailer_from_address', value: 'noreply@consul.es') Setting.create(key: 'mailer_from_address', value: 'noreply@consul.dev')
puts "Creating Geozones" puts "Creating Geozones"
('A'..'Z').each { |i| Geozone.create(name: "District #{i}", external_code: i.ord, census_code: i.ord) } ('A'..'Z').each { |i| Geozone.create(name: "District #{i}", external_code: i.ord, census_code: i.ord) }

View File

@@ -84,5 +84,4 @@ Setting['direct_message_max_per_day'] = 3
# Email settings # Email settings
Setting['mailer_from_name'] = 'Consul' Setting['mailer_from_name'] = 'Consul'
Setting['mailer_from_address'] = 'noreply@consul.es' Setting['mailer_from_address'] = 'noreply@consul.dev'