diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/app/models/user.rb | 4 |
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 |