method

update_cookies_from_jar

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActionDispatch::Cookies::CookieJar
update_cookies_from_jar() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 349
      def update_cookies_from_jar
        request_jar = @request.cookie_jar.instance_variable_get(:@cookies)
        set_cookies = request_jar.reject { |k, _| @delete_cookies.key?(k) }

        @cookies.update set_cookies if set_cookies
      end
Register or log in to add new notes.