X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5fbc8ad3f471fde8c5defedc41bbb8374e13abdb..0c061a6f655b4ab49e299a8e19d289aae846aa40:/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