This repository has been archived by the owner on Jun 22, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix actionmailer patches to correctly handle absolute paths.
Newer versions of Rails 2.3.x, like 2.3.10, changed #template_path to return absolute paths for plugin views -- previously these were always relative. This change broke plugins like exception notifiers which contain their own mailer templates. This fix simply checks whether the paths are absolute and only modifies them if they're relative.
- Loading branch information