6bbe965ccd
* Removing the dependency on AD::Request and AD::Response * Moving the logic for the request and response object into a new module that is included by default. * Changing Renderer and Redirector to use self.headers, self.content_type, and self.status, which have very basic default implementations on AC::Http. When RackConvenience is included (which it is by default on AC::Base), the full Request/Response logic is used instead of the simple logic.
16 lines
236 B
Ruby
16 lines
236 B
Ruby
module ActionController
|
|
module Session
|
|
extend ActiveSupport::DependencyModule
|
|
|
|
depends_on RackConvenience
|
|
|
|
def session
|
|
@_request.session
|
|
end
|
|
|
|
def reset_session
|
|
@_request.reset_session
|
|
end
|
|
end
|
|
end
|