diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-18 11:46:51 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-09-18 11:46:51 -0700 |
commit | b93c226d19615fe504f9e12d6c0ee2d70683e5fa (patch) | |
tree | cd3cdb9234445e13a7fecaec2f4014f2c4122dbc /guides/source/plugins.md | |
parent | 91d05082e43008f2617d468fdd6c0de95855fe7f (diff) | |
download | rails-b93c226d19615fe504f9e12d6c0ee2d70683e5fa.tar.gz rails-b93c226d19615fe504f9e12d6c0ee2d70683e5fa.tar.bz2 rails-b93c226d19615fe504f9e12d6c0ee2d70683e5fa.zip |
push the parameter parsers on to the class
The middleware stack is a singleton in the application (one instance is
shared for the entire application) which means that there was only one
opportunity to set the parameter parsers. Since there is only one set
of parameter parsers in an app, lets just configure them on the request
class (since that is where they are used).
Diffstat (limited to 'guides/source/plugins.md')
0 files changed, 0 insertions, 0 deletions