diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2017-07-20 13:46:35 +0200 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2017-07-20 15:31:32 +0200 |
commit | 9c326e1fdf54ff099f9f7f94a99bf25c4cf28ffb (patch) | |
tree | f89707561486ec47975ec57474de8d741b48739a /actionmailer | |
parent | df94b863c2ff8f1bcf12e36ed8fc1419292668e7 (diff) | |
download | rails-9c326e1fdf54ff099f9f7f94a99bf25c4cf28ffb.tar.gz rails-9c326e1fdf54ff099f9f7f94a99bf25c4cf28ffb.tar.bz2 rails-9c326e1fdf54ff099f9f7f94a99bf25c4cf28ffb.zip |
Fix ApplicationController.renderer.defaults overriding in development
Previously overriding ApplicationController.renderer.defaults wasn't
working effectively in development. In fact the override was unset every
time the code was reloaded. The solution is to wrap the code in a
`.to_prepare` block.
Diffstat (limited to 'actionmailer')
0 files changed, 0 insertions, 0 deletions