diff options
author | Sammy Larbi <sam@codeodor.com> | 2016-10-13 17:53:41 -0500 |
---|---|---|
committer | Sammy Larbi <sam@codeodor.com> | 2016-10-15 07:03:33 -0500 |
commit | 6fccd7b6293dcae383757379c5c3809c6674084e (patch) | |
tree | bd2049dc156244eb1aaa70fffb50ea5ca0ba74f4 /guides | |
parent | e10e3c7da215ef848db7592068993f14aac00fa6 (diff) | |
download | rails-6fccd7b6293dcae383757379c5c3809c6674084e.tar.gz rails-6fccd7b6293dcae383757379c5c3809c6674084e.tar.bz2 rails-6fccd7b6293dcae383757379c5c3809c6674084e.zip |
Allow any key in Renderer environment hash
When rendering arbitrary templates, it is helpful to not overwrite `env` keys with nil if they don't match any found in the `RACK_KEY_TRANSLATION`
This allows the developer to set the environment to exactly what is needed for rendering.
Diffstat (limited to 'guides')
0 files changed, 0 insertions, 0 deletions