summaryrefslogtreecommitdiff
path: root/users/app/models
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-12 00:09:57 +0100
committerAzul <azul@leap.se>2012-12-12 00:09:57 +0100
commit0871fd8938952d8b718c64d4d45535f7ae9fd742 (patch)
treeded6504b15bab40b42dd4bd60e4df2571be8bc61 /users/app/models
parent7a9a4f4e7bd090fd27e05b03f93832d79f5f8db2 (diff)
parent1a26988cb7ff30061473f4a781166b184b3037ce (diff)
Merge branch 'master' into develop
Diffstat (limited to 'users/app/models')
-rw-r--r--users/app/models/user.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/app/models/user.rb b/users/app/models/user.rb
index ae271ce..340ad9c 100644
--- a/users/app/models/user.rb
+++ b/users/app/models/user.rb
@@ -1,5 +1,7 @@
class User < CouchRest::Model::Base
+ use_database :users
+
property :login, String, :accessible => true
property :email, String, :accessible => true
property :email_forward, String, :accessible => true