summaryrefslogtreecommitdiff
path: root/users/app/models
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-01-14 12:39:59 -0800
committerjessib <jessib@leap.se>2013-01-14 12:39:59 -0800
commit8141876126aa25d713cf4b2c76c3ecff837c4ba7 (patch)
treedaa33640bd157a9ad080975bcc3e1dee686480f2 /users/app/models
parentc2f232d994b3ee01ff9d50da1e4f3798df2136f3 (diff)
Use partials for displaying details shown when viewing a user. Some of these partials have specific CSS for another use, so we will likely want to tweak this.
Diffstat (limited to 'users/app/models')
-rw-r--r--users/app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/models/user.rb b/users/app/models/user.rb
index 42900ea..1e8ee0e 100644
--- a/users/app/models/user.rb
+++ b/users/app/models/user.rb
@@ -95,7 +95,7 @@ class User < CouchRest::Model::Base
end
def most_recent_tickets(count=3)
- Ticket.for_user(self).limit(count) #defaults to having most recent updated first
+ Ticket.for_user(self).limit(count).all #defaults to having most recent updated first
end
protected