class Marten::Conf::GlobalSettings::MethodOverride
- Marten::Conf::GlobalSettings::MethodOverride
- Reference
- Object
Overview
Allows to configure settings related to the method override middleware.
Defined in:
marten/conf/global_settings/method_override.crInstance Method Summary
-
#allowed_methods : Array(String)
Returns an array containing the HTTP methods allowed for override.
-
#allowed_methods=(methods)
Sets the array of HTTP methods that are allowed for override.
-
#http_header_name : String
Returns the name of the HTTP header used to signal method overrides (e.g., in forms).
-
#http_header_name=(http_header_name : String)
Sets the name of the HTTP header used for method overrides.
-
#input_name : String
Returns the name of the input field used to signal method overrides (e.g., in forms).
-
#input_name=(input_name : String)
Sets the name of the input field used for method overrides.
Instance Method Detail
Returns an array containing the HTTP methods allowed for override.
Returns the name of the HTTP header used to signal method overrides (e.g., in forms).
Sets the name of the HTTP header used for method overrides.
Returns the name of the input field used to signal method overrides (e.g., in forms).