diff options
| author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-08 15:57:07 -0700 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-08 16:14:47 -0700 |
| commit | 376cccbdc1a39644dce234c39086349d81d907e7 (patch) | |
| tree | 80edac363328d915f6648e254c4795cf16d4a7fc /railties/lib/rails/application.rb | |
| parent | 8301969df9fd76bcde140f310300349b609e2b10 (diff) | |
| download | rails-376cccbdc1a39644dce234c39086349d81d907e7.tar.gz rails-376cccbdc1a39644dce234c39086349d81d907e7.tar.bz2 rails-376cccbdc1a39644dce234c39086349d81d907e7.zip | |
avoid allocations when there is no content type set
create a singleton content type that just has nils, so that we don't
have to allocate a content type object all the time.
Diffstat (limited to 'railties/lib/rails/application.rb')
0 files changed, 0 insertions, 0 deletions
