X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5fbc8ad3f471fde8c5defedc41bbb8374e13abdb..801f02fdd95b056311d899e092b61be492b5cfd6:/app/models/notifier.rb diff --git a/app/models/notifier.rb b/app/models/notifier.rb index f6870a8ad..84d097341 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -1,3 +1,4 @@ + class Notifier < ActionMailer::Base def signup_confirm(user, token) recipients user.email @@ -34,6 +35,8 @@ class Notifier < ActionMailer::Base headers "Auto-Submitted" => "auto-generated" body :trace_name => trace.name, :trace_points => trace.size, + :trace_description => trace.description, + :trace_tags => trace.tags, :possible_points => possible_points end @@ -43,6 +46,8 @@ class Notifier < ActionMailer::Base subject "[OpenStreetMap] GPX Import failure" headers "Auto-Submitted" => "auto-generated" body :trace_name => trace.name, + :trace_description => trace.description, + :trace_tags => trace.tags, :error => error end