X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9deeae3f9630bb85fc420a9eb09edb6318d32f09..b9c9d6c1aafdd60c72b54345b4d2dc94317298a0:/app/models/diary_entry.rb diff --git a/app/models/diary_entry.rb b/app/models/diary_entry.rb index 0524b75cf..9146eb800 100644 --- a/app/models/diary_entry.rb +++ b/app/models/diary_entry.rb @@ -8,7 +8,7 @@ class DiaryEntry < ActiveRecord::Base has_many :visible_comments, :class_name => "DiaryComment", :include => :user, :conditions => { - :users => { :visible => true }, + :users => { :status => ["active", "confirmed" ] }, :visible => true }, :order => "diary_comments.id"