does not create notifications for blocked or erased users
This commit is contained in:
@@ -99,7 +99,7 @@ class Proposal < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def voters
|
||||
votes_for.voters
|
||||
User.active.where(id: votes_for.voters)
|
||||
end
|
||||
|
||||
def editable?
|
||||
|
||||
Reference in New Issue
Block a user