X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9deeae3f9630bb85fc420a9eb09edb6318d32f09..2bc44dfddc214efcec9dd2e920fac14a7c2dcec0:/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"