diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-07 12:25:52 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-07 12:25:52 +0100 |
commit | b66cf13cab7bbef0ae4244aabc023fede67e36fb (patch) | |
tree | c47f74f1b5b64293f4bd86b8c594a60523e0ebb8 | |
parent | bc99518a1650963153c164b5eaeb11033dcf8bac (diff) |
A user.destroy triggers a phone.resync.
-rw-r--r-- | app/models/user.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 9b29dc5..b902b99 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -203,6 +203,7 @@ class User < ActiveRecord::Base else phone.destroy end + phone.resync end end |