method
polymorphic_path
v6.1.7.7 -
Show latest stable
- Class:
ActionDispatch::Routing::PolymorphicRoutes
polymorphic_path(record_or_hash_or_array, options = {})public
Returns the path component of a URL for the given record.
polymorphic_path(record_or_hash_or_array, options = {})Returns the path component of a URL for the given record.