app/models/api_comment.rb
# remove api comment from unread notifications - for example after delete comment
remove api comment from unread notifications - for example after delete comment
remove api comment from unread notifications - for example after delete comment
def remove_from_notifications
    notifications.find_all { |n| n.noti_read == 'N' }.each do |n|
      remove_from_notification(n)
    end 
  end
def remove_from_notifications notifications . find_all { | n | n . noti_read == 'N' } . each do | n | remove_from_notification ( n ) end end
remove api comment from unread notifications - for example after delete comment
remove api comment from unread notifications - for example after delete comment
# each n