projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
3991: Handle "no workbench_address configured" more gracefully.
[arvados.git]
/
services
/
api
/
app
/
mailers
/
admin_notifier.rb
diff --git
a/services/api/app/mailers/admin_notifier.rb
b/services/api/app/mailers/admin_notifier.rb
index 035072b93423311a895d7dc6e10deb4b131b0010..36798bebe94a2f50e4bc2d142e17f5446f152b16 100644
(file)
--- a/
services/api/app/mailers/admin_notifier.rb
+++ b/
services/api/app/mailers/admin_notifier.rb
@@
-12,11
+12,11
@@
class AdminNotifier < ActionMailer::Base
add_to_subject = ''
if Rails.configuration.auto_setup_new_users
add_to_subject = ''
if Rails.configuration.auto_setup_new_users
- add_to_subject = @user.is_invited ? 'and setup' : ', but not setup'
+ add_to_subject = @user.is_invited ? '
and setup' : ', but not setup'
end
mail(to: @recipients,
end
mail(to: @recipients,
- subject: "#{Rails.configuration.email_subject_prefix}New user created
#{add_to_subject} notification"
+ subject: "#{Rails.configuration.email_subject_prefix}New user created#{add_to_subject} notification"
)
end
end
)
end
end