Ruby: deprecate old ProtectFromForgeryCall class

This commit is contained in:
Harry Maclean
2024-02-23 11:26:53 +00:00
parent 7b3f1a0982
commit f5be407989

View File

@@ -441,6 +441,11 @@ class ActionControllerSkipForgeryProtectionCall extends CsrfProtectionSetting::R
override boolean getVerificationSetting() { result = false }
}
/**
* DEPRECATED: Use `ActionController::ProtectFromForgeryCall` instead.
*/
deprecated class ActionControllerProtectFromForgeryCall = ActionController::ProtectFromForgeryCall;
/**
* A call to `send_file`, which sends the file at the given path to the client.
*/