about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-01-18 19:17:25 +0100
committerGitHub <noreply@github.com>2018-01-18 19:17:25 +0100
commitd799921c75e7bfb83504bb79dcc1c269c91d168c (patch)
tree8150e8c3d81038ed132127d2ea1ca2a44ff73fb1 /app/models
parente56404be414ff2fc7ff11171fdd2b31a0658aa11 (diff)
Replace tutorial modal with welcome e-mail (#6273)
* Remove onboarding modal

* Welcome e-mail

* Send welcome e-mail after confirmation

* Remove obsolete translations
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 892a07bba..8cad3221b 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -223,5 +223,6 @@ class User < ApplicationRecord
   def update_statistics!
     BootstrapTimelineWorker.perform_async(account_id)
     ActivityTracker.increment('activity:accounts:local')
+    UserMailer.welcome(self).deliver_later
   end
 end