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