# File lib/merb-core/dispatch/cookies.rb, line 96 96: def self.included(base) 97: # Allow per-controller default cookie domains (see callback below) 98: base.class_inheritable_accessor :_default_cookie_domain 99: base._default_cookie_domain = Merb::Config[:default_cookie_domain] 100: 101: # Add a callback to enable Set-Cookie headers 102: base._after_dispatch_callbacks << lambda do |c| 103: headers = c.request.cookies.extract_headers("domain" => c._default_cookie_domain) 104: c.headers.update(headers) 105: end 106: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.