Sha256: 94d71ee5975215cbbc6e9a6cedff47a294c63b3744c92d1c07de70b8cc3c6a74
Contents?: true
Size: 394 Bytes
Versions: 121
Compression:
Stored size: 394 Bytes
Contents
# frozen_string_literal: true module ActionController # 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
121 entries across 115 versions & 10 rubygems