]> git.openstreetmap.org Git - rails.git/blobdiff - app/mailers/user_mailer.rb
Link to all user's traces from successful import emails
[rails.git] / app / mailers / user_mailer.rb
index 613c758792481af67da2f661bb3a707682eb25e0..d1ad60b2cad9c1d9aa2aa6ce150bd77999edc3ce 100644 (file)
@@ -50,6 +50,7 @@ class UserMailer < ApplicationMailer
       @trace_description = trace.description
       @trace_tags = trace.tags
       @possible_points = possible_points
       @trace_description = trace.description
       @trace_tags = trace.tags
       @possible_points = possible_points
+      @my_traces_url = url_for(:controller => "traces", :action => "mine")
 
       mail :to => trace.user.email,
            :subject => t(".subject")
 
       mail :to => trace.user.email,
            :subject => t(".subject")