summaryrefslogtreecommitdiff
path: root/users/app/models/identity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/models/identity.rb')
-rw-r--r--users/app/models/identity.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/users/app/models/identity.rb b/users/app/models/identity.rb
index a081394..9fd0cad 100644
--- a/users/app/models/identity.rb
+++ b/users/app/models/identity.rb
@@ -7,13 +7,6 @@ class Identity < CouchRest::Model::Base
property :address
property :destination
- def initialize(attribs = {}, &block):q
- attribs.reverse_merge! user_id: user.id,
- address: user.main_email_address,
- destination: user.main_email_address
- Identity.new attribs
- end
-
design do
view :by_user_id
end