OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
add comment explaining change to mail API
Markus Kahl2c28952aee5d
diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rbindex ada998d117a..e8b14ceb952 100644--- a/app/mailers/application_mailer.rb+++ b/app/mailers/application_mailer.rb@@ -117,6 +117,8 @@ class ApplicationMailer < ActionMailer::Base### Overwrite mailer method to prevent sending mails to locked users.+ # Usually this would accept a string for the `to:` argument, but+ # we always require an actual user object since fed95796.def mail(headers = {}, &block)block ||= method(:default_formats_for_setting)to = headers[:to]