Just confirming that there is a guardian call prior to raising any notification:
return unless Guardian.new(user).can_see?(post)
If you can not see a post you will not be notified or emailed.
Just confirming that there is a guardian call prior to raising any notification:
return unless Guardian.new(user).can_see?(post)
If you can not see a post you will not be notified or emailed.