Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

show latest users first

  • Loading branch information...
commit 3eaa565eddc069dbc2455cb407780a2ec598ae84 1 parent 1826c63
Peter Schröder authored June 14, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  app/models/user.rb
2  app/models/user.rb
@@ -58,7 +58,7 @@ def handle_attributes(hash)
58 58
 
59 59
   class << self
60 60
     def peers
61  
-      joins(:participants => :event).where("events.label" => Whitelabel[:label_id]).uniq
  61
+      joins(:participants => :event).where("events.label" => Whitelabel[:label_id]).order("created_at DESC").uniq
62 62
     end
63 63
 
64 64
     def main

0 notes on commit 3eaa565

Please sign in to comment.
Something went wrong with that request. Please try again.