Commit cb7043963071ce3f1a3d36fb6092e90778c81d75

Authored by Antonio Terceiro
2 parents f8d30975 f459e454

Merge branch 'stable'

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/article.rb
... ... @@ -11,7 +11,7 @@ class Article < ActiveRecord::Base
11 11  
12 12 belongs_to :last_changed_by, :class_name => 'Person', :foreign_key => 'last_changed_by_id'
13 13  
14   - has_many :comments, :dependent => :destroy
  14 + has_many :comments, :dependent => :destroy, :order => 'created_at asc'
15 15  
16 16 has_many :article_categorizations, :conditions => [ 'articles_categories.virtual = ?', false ]
17 17 has_many :categories, :through => :article_categorizations
... ...