]> git.openstreetmap.org Git - rails.git/blobdiff - script/deliver-message
Fix call to UserMailer in message delivery
[rails.git] / script / deliver-message
index 6907637a67d532623482883f1bb5c93fbf836e0d..0479695328f396c5569020eff911539436c24230 100755 (executable)
@@ -33,6 +33,6 @@ mail = Mail.new($stdin.read
 message = Message.from_mail(mail, from, to)
 message.save!
 
-Notifier.message_notification(message).deliver
+UserMailer.message_notification(message).deliver
 
 exit 0