Module: ActionController::DefaultHeaders::ClassMethods
- Defined in:
- lib/action_controller/metal/default_headers.rb
Instance Method Summary collapse
Instance Method Details
#make_response!(request) ⇒ Object
14 15 16 17 18 |
# File 'lib/action_controller/metal/default_headers.rb', line 14 def make_response!(request) ActionDispatch::Response.create.tap do |res| res.request = request end end |