summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-10 15:39:02 +0100
committerAzul <azul@leap.se>2012-12-10 15:39:02 +0100
commit1a26988cb7ff30061473f4a781166b184b3037ce (patch)
treecbd129cd9d93efa93cd2a40bcdec8c08169c14df /users
parent5cfabde4f04d9212af5efee805479bd1be3c5cf1 (diff)
use consistent naming scheme across CA, webapp and couchDB install
Diffstat (limited to 'users')
-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