X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5fbc8ad3f471fde8c5defedc41bbb8374e13abdb..a21824f754ddea0e45beb87cdaa371e74359e2e2:/app/models/notifier.rb?ds=sidebyside 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