Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
Fixed bug which became transparent with rails4 deprecation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
nning committed Feb 25, 2014
1 parent 2493ee7 commit d07ac84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/mailbox.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def manager?

# Checks if Mailbox has permissions on associated domain (for spam Aliases).
def manager_of_address_domain?
Domain.managable(self).all.include? domain
Domain.managable(self).where(id: domain.id).any?
end

# Salt of the password hash.
Expand Down

0 comments on commit d07ac84

Please sign in to comment.