summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-10-29 19:19:35 +0100
committerAzul <azul@leap.se>2012-10-29 19:19:35 +0100
commit428aea3c577c44a3bb13cced23c5c0cafc5b4d93 (patch)
treee36349452e599c11b67e1912df2e68db5140c504 /users
parent3ba2e664a26e96a93c8640b57241af6386db361e (diff)
parent56273c13f54a872d02db286c90a8d5103cf7a663 (diff)
Merge branch 'help_develop' into develop
Diffstat (limited to 'users')
-rw-r--r--users/app/models/user.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/app/models/user.rb b/users/app/models/user.rb
index 1afb9db..8b7c0b3 100644
--- a/users/app/models/user.rb
+++ b/users/app/models/user.rb
@@ -70,4 +70,8 @@ class User < CouchRest::Model::Base
Thread.current[:user] = user
end
+ def self.current_test
+ User.first
+ end
+
end