summaryrefslogtreecommitdiff
path: root/users/app
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2012-10-05 15:41:03 -0700
committerjessib <jessib@riseup.net>2012-10-05 15:41:03 -0700
commita6de1561461cc719fddd8175c93588a47513a4b8 (patch)
treef406d98575b0515135808750f22bcb03be02b1af /users/app
parent118d9ab5c9f4d7a82b7cf24774ef12d3c221f8ef (diff)
Rough code to add & comment on tickets.
Diffstat (limited to 'users/app')
-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 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