Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for ActionMailer before adding mailer hook
ActionMailer is optional on Rails and should also be optional here. By checking for the presence of the class, we allow apps that don't use action mailer to use the gem.
- Loading branch information