Merge branch 'master' into 3112-report-bug
[arvados.git] / services / api / app / mailers / admin_notifier.rb
index 2bb0aef7b344129e9c0a3d1fee4748d61e21ac9f..36798bebe94a2f50e4bc2d142e17f5446f152b16 100644 (file)
@@ -12,11 +12,11 @@ class AdminNotifier < ActionMailer::Base
 
       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,
-           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