method

content_type=

rails latest stable - Class: ActionController::Metal

Method not available on this version

This method is only available on newer versions. The first available version (v3.0.0) is shown here.

content_type=(type)
public

Basic implementations for content_type=, location=, and headers are provided to reduce the dependency on the RackDelegation module in Renderer and Redirector.