diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-05-17 11:28:40 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2016-05-17 11:28:51 -0700 |
commit | d6bac046922fcee05366d26d75349dde70d25f6b (patch) | |
tree | 486bad10a28c4b93bbde0482f3bb6217d0a3e516 /railties/lib/rails/application_controller.rb | |
parent | 17f04e446a6b3d5ca457e9666e06ee4eccdfa9c2 (diff) | |
download | rails-d6bac046922fcee05366d26d75349dde70d25f6b.tar.gz rails-d6bac046922fcee05366d26d75349dde70d25f6b.tar.bz2 rails-d6bac046922fcee05366d26d75349dde70d25f6b.zip |
keep layouts + locals from bloating the cache
Using locals will cause layouts to be cached multiple times in the
template cache. This commit removes locals from consideration when
looking up the layout.
Diffstat (limited to 'railties/lib/rails/application_controller.rb')
0 files changed, 0 insertions, 0 deletions