15 lines
243 B
Ruby
15 lines
243 B
Ruby
|
module ActionController #:nodoc:
|
||
|
module Cookies
|
||
|
extend ActiveSupport::Concern
|
||
|
|
||
|
included do
|
||
|
helper_method :cookies if defined?(helper_method)
|
||
|
end
|
||
|
|
||
|
private
|
||
|
def cookies
|
||
|
request.cookie_jar
|
||
|
end
|
||
|
end
|
||
|
end
|