Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't assume ActionMailer is available (#608)
If the Rails app that uses this gem doesn't include the ActionMailer railtie, the gem raises this error: `uninitialized constant ReactOnRailsHelper::ActionMailer` This change introduces a check that the ActionMailer constant is defined before setting the 'inMailer' option. I'm not quite sure how to test this, so if anyone has ideas, that would be helpful.
- Loading branch information