]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/notifier.rb
Rework application configuration
[rails.git] / app / models / notifier.rb
index 3644633365545cf6ef877815b6af2ff564827044..a1fde49b33c14ee7f45e7815baecefc26ed921b6 100644 (file)
@@ -105,7 +105,7 @@ private
   end
 
   def from_header(name, type, id, digest)
-    if domain = APP_CONFIG['messages_domain']
+    if domain = MESSAGES_DOMAIN
       from quote_address_if_necessary("#{name} <#{type}-#{id}-#{digest[0,6]}@#{domain}>", "utf-8")
     end
   end