X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b982bc6b19a3b14eba653088d917c6fe514db396..b92e1b058421a6bf49f65f2d45060cfdf197fd1d:/app/models/user.rb?ds=sidebyside diff --git a/app/models/user.rb b/app/models/user.rb index 66669f95a..63f6bd389 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -3,7 +3,7 @@ class User < ActiveRecord::Base require 'digest/md5' has_many :traces - has_many :diary_entries + has_many :diary_entries, :order => 'created_at DESC' has_many :messages, :foreign_key => :to_user_id has_many :friends