mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
51c7ac142d
Controllers should always have a request and response when responding.
Since we make this The Rule(tm), then controllers don't need to be
somewhere in limbo between "asking a response object for a rack
response" or "I, myself contain a rack response". This duality leads to
conditionals spread through the codebase that we can delete:
*
|
||
---|---|---|
.. | ||
http | ||
journey | ||
middleware | ||
request | ||
routing | ||
testing | ||
journey.rb | ||
railtie.rb | ||
routing.rb |