[openstreetmap/openstreetmap-website] Allow reporting of abusive users to moderators or admins (#1268)
Ilya Zverev
notifications at github.com
Mon Aug 15 10:29:24 UTC 2016
> @@ -172,6 +172,17 @@ def changeset_comment_notification(comment, recipient)
> end
> end
>
> + def new_issue_notification(issue_id,recipient)
> + with_recipient_locale recipient do
> + @url = url_for(:host => SERVER_URL,
> + :controller => "issues",
> + :action => "show",
> + :id => issue_id)
> + subject = I18n.t("notifier.new_issue_notification.subject")
> + mail :to => recipient.email, :subject => subject
We really need a centralized notification API, so mails are sent from one place, and a user (and editors) could see all notifications.
(not a bug here)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1268/files/ea2d71f25bdf7fbf4cd3e389c27be4af574d6ed3#r74744185
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160815/6d4f4436/attachment.html>
More information about the rails-dev
mailing list