Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add preview_path to autoload_paths in after_initialize | Andrew White | 2014-01-04 | 1 | -1/+41 |
| | | | | | | | | | | Only config.autoload_paths is frozen, so add the preview_path to ActiveSupport::Dependencies.autoload_paths directly in an after_initialize block. Also protect against a blank preview_path being added to autoload_paths which can cause a serious slowdown as Dir[] tries to load all *_preview.rb files under / Fixes #13372 | ||||
* | Add mailer previews feature based on mail_view gem | Andrew White | 2013-12-17 | 1 | -0/+388 |