class

Marten::Conf::GlobalSettings::MethodOverride

Inherits Reference / Object

Allows to configure settings related to the method override middleware.

Instance methods

allowed_methods

Returns an array containing the HTTP methods allowed for override.

Source
allowed_methods=(methods)

Sets the array of HTTP methods that are allowed for override.

Source
http_header_name

Returns the name of the HTTP header used to signal method overrides (e.g., in forms).

Source
http_header_name=(http_header_name : String)

Sets the name of the HTTP header used for method overrides.

Source
input_name

Returns the name of the input field used to signal method overrides (e.g., in forms).

Source
input_name=(input_name : String)

Sets the name of the input field used for method overrides.

Source