method
polymorphic_path
v2.0.3 -
Show latest stable
- Class:
ActionController::PolymorphicRoutes
polymorphic_path(record_or_hash_or_array, options = {})public
Returns the path component of a URL for the given record. It uses polymorphic_url with :routing_type => :path.