instance method
normalize_action_path
Ruby on Rails 5.2.8.1
Since v5.2.8.1 PrivateSignature
normalize_action_path(action_path)
No documentation comment.
Parameters
-
action_pathreq
Source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 464
def normalize_action_path(action_path) # :doc:
uri = URI.parse(action_path)
uri.path.chomp("/")
end
Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 464
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection