Method: Authlogic::ControllerAdapters::RailsAdapter#cookies

Defined in:
lib/authlogic/controller_adapters/rails_adapter.rb

#cookiesObject

Returns a ‘ActionDispatch::Cookies::CookieJar`. See the AC guide guides.rubyonrails.org/action_controller_overview.html#cookies


16
17
18
# File 'lib/authlogic/controller_adapters/rails_adapter.rb', line 16

def cookies
  controller.respond_to?(:cookies, true) ? controller.send(:cookies) : nil
end