unsubscribe not subscribe

This commit is contained in:
Kyle Drake 2015-06-29 13:54:49 -07:00
parent cff1c3a20b
commit 6116e90e62

View file

@ -9,7 +9,7 @@ class EmailWorker
if args['no_footer'] if args['no_footer']
footer = '' footer = ''
else else
footer = "\n\n---\nYou are receiving this email because you have a Neocities site. If you would like to subscribe from Neocities emails, just visit this url:\nhttps://neocities.org/settings/unsubscribe_email?email=#{Rack::Utils.escape args['to']}&token=#{unsubscribe_token}" footer = "\n\n---\nYou are receiving this email because you have a Neocities site. If you would like to unsubscribe from Neocities emails, just visit this url:\nhttps://neocities.org/settings/unsubscribe_email?email=#{Rack::Utils.escape args['to']}&token=#{unsubscribe_token}"
end end
Mail.deliver do Mail.deliver do