diff options
author | jessib <jessib@riseup.net> | 2012-10-05 15:41:03 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2012-10-05 15:41:03 -0700 |
commit | a6de1561461cc719fddd8175c93588a47513a4b8 (patch) | |
tree | f406d98575b0515135808750f22bcb03be02b1af /users/app | |
parent | 118d9ab5c9f4d7a82b7cf24774ef12d3c221f8ef (diff) |
Rough code to add & comment on tickets.
Diffstat (limited to 'users/app')
-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 a6aab84..33c77ce 100644 --- a/users/app/models/user.rb +++ b/users/app/models/user.rb @@ -59,4 +59,8 @@ class User < CouchRest::Model::Base Thread.current[:user] = user end + def self.current_test + User.first + end + end |