Sha256: 8c1676deae5e6e71e32223b74447c366c3b4601ae1c86332e5f5cc929ba2e92e
Contents?: true
Size: 438 Bytes
Versions: 18
Compression:
Stored size: 438 Bytes
Contents
# frozen_string_literal: true module ActionController # = Action Controller Default Headers # # Allows configuring default headers that will be automatically merged into # each response. module DefaultHeaders extend ActiveSupport::Concern module ClassMethods def make_response!(request) ActionDispatch::Response.create.tap do |res| res.request = request end end end end end
Version data entries
18 entries across 18 versions & 4 rubygems