]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/notifier.rb
Include tags in GPX success and failure mails. Closes #480.
[rails.git] / app / models / notifier.rb
index b9b81a8893d53c354538c68b55f249f00270be42..84d097341c8dee7cd61162a5337fddef436386a9 100644 (file)
@@ -35,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
 
@@ -44,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