mirror of
https://github.com/anteo/redmine_custom_workflows.git
synced 2026-01-26 08:14:20 +00:00
mail to: [user instead of their email]
This commit is contained in:
parent
501080183f
commit
11164f452f
@ -32,7 +32,7 @@ class CustomWorkflowMailer < Mailer
|
|||||||
def custom_email(user, subject, text)
|
def custom_email(user, subject, text)
|
||||||
set_language_if_valid user.language
|
set_language_if_valid user.language
|
||||||
@text = text
|
@text = text
|
||||||
mail to: user.mail, subject: subject
|
mail to: user, subject: subject
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user