Link to all user's traces from successful import emails

This commit is contained in:
Anton Khorev 2024-01-11 17:48:40 +03:00
parent 51f331e8cc
commit 6931c49825
4 changed files with 15 additions and 0 deletions

View file

@ -50,6 +50,7 @@ class UserMailer < ApplicationMailer
@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")