diff options
author | Benjamin Fleischer <bf4@users.noreply.github.com> | 2018-10-25 10:36:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 10:36:39 -0500 |
commit | 170cb2ee9ba825c6f9ea6544bb118f7e31194251 (patch) | |
tree | 900f570cb2cb334e174592ac06dc742ec48e201a /activejob/lib/active_job/arguments.rb | |
parent | a3dcba42e2422eb9c2e77011a39ce72dc934b420 (diff) | |
download | rails-170cb2ee9ba825c6f9ea6544bb118f7e31194251.tar.gz rails-170cb2ee9ba825c6f9ea6544bb118f7e31194251.tar.bz2 rails-170cb2ee9ba825c6f9ea6544bb118f7e31194251.zip |
ActionController::API *does* support cookies, sessions
ActionController::Metal provides session support by delegating `session to the request (`"@_request"`)
https://github.com/rails/rails/blob/a3dcba42e2422eb9c2e77011a39ce72dc934b420/actionpack/lib/action_controller/metal.rb#L149
Though the ActionController::Cookies modules isn't included, it's really a convenience for providing a first class `cookies` object.
*all* ActionController::Metal subclasses support setting cookies via the `session` object.
Diffstat (limited to 'activejob/lib/active_job/arguments.rb')
0 files changed, 0 insertions, 0 deletions