Method: ActionDispatch::Cookies#call
- Defined in:
- lib/action_dispatch/middleware/cookies.rb
#call(env) ⇒ Object
702 703 704 705 706 707 708 709 710 711 712 713 714 715 |
# File 'lib/action_dispatch/middleware/cookies.rb', line 702 def call(env) request = ActionDispatch::Request.new(env) response = @app.call(env) if request. = request. unless .committed? response = Rack::Response[*response] .write(response) end end response.to_a end |