Secret yml update + checking for presence of recipients
This commit is contained in:
committed by
Julian Herrero
parent
49a2fde86c
commit
73b49adcc4
@@ -1,4 +1,6 @@
|
|||||||
if (recipients = Rails.application.secrets.interceptor_recipients)
|
recipients = Rails.application.secrets.email_interceptor_recipients
|
||||||
|
|
||||||
|
if recipients.present?
|
||||||
interceptor = RecipientInterceptor.new(recipients)
|
interceptor = RecipientInterceptor.new(recipients)
|
||||||
Mail.register_interceptor(interceptor)
|
Mail.register_interceptor(interceptor)
|
||||||
end
|
end
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
default: &default
|
default: &default
|
||||||
secret_key_base: 56792feef405a59b18ea7db57b4777e855103882b926413d4afdfb8c0ea8aa86ea6649da4e729c5f5ae324c0ab9338f789174cf48c544173bc18fdc3b14262e4
|
secret_key_base: 56792feef405a59b18ea7db57b4777e855103882b926413d4afdfb8c0ea8aa86ea6649da4e729c5f5ae324c0ab9338f789174cf48c544173bc18fdc3b14262e4
|
||||||
|
email_interceptor_recipients: ""
|
||||||
|
|
||||||
maps: &maps
|
maps: &maps
|
||||||
map_tiles_provider: "//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
map_tiles_provider: "//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
||||||
|
|||||||
Reference in New Issue
Block a user