Set the default from address as consul.dev
This commit is contained in:
@@ -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) }
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user