Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 274 Bytes
# frozen_string_literal: true
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