1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailer/lib
Andrew White 3713e43366 Add preview_path to autoload_paths in after_initialize
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
2014-01-04 18:42:34 +00:00
..
action_mailer Add preview_path to autoload_paths in after_initialize 2014-01-04 18:42:34 +00:00
rails/generators/mailer Revert "Document Rails::Generators::MailerGenerator" 2013-05-19 21:05:35 +05:30
action_mailer.rb update copyright notices to 2014. [ci skip] 2014-01-01 23:59:49 +05:30