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