From 05a00df8ed32bccbfade1c7c3de29cf4d601ce14 Mon Sep 17 00:00:00 2001 From: Fernando Blat Date: Fri, 23 Dec 2016 15:46:39 +0100 Subject: [PATCH] Set the default from address as consul.dev --- db/dev_seeds.rb | 2 +- db/seeds.rb | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/db/dev_seeds.rb b/db/dev_seeds.rb index 631ae0f04..f0d710f2d 100644 --- a/db/dev_seeds.rb +++ b/db/dev_seeds.rb @@ -33,7 +33,7 @@ Setting.create(key: 'feature.google_login', value: "true") Setting.create(key: 'per_page_code', value: "") Setting.create(key: 'comments_body_max_length', value: '1000') 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" ('A'..'Z').each { |i| Geozone.create(name: "District #{i}", external_code: i.ord, census_code: i.ord) } diff --git a/db/seeds.rb b/db/seeds.rb index 73d8153ca..972a0a495 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -84,5 +84,4 @@ Setting['direct_message_max_per_day'] = 3 # Email settings Setting['mailer_from_name'] = 'Consul' -Setting['mailer_from_address'] = 'noreply@consul.es' - +Setting['mailer_from_address'] = 'noreply@consul.dev'