module ActionDispatch::Routing::PolymorphicRoutes
def polymorphic_path(record_or_hash_or_array, options = {})
Returns the path component of a URL for the given record. It uses
def polymorphic_path(record_or_hash_or_array, options = {}) polymorphic_url(record_or_hash_or_array, options.merge(:routing_type => :path)) end