method

polymorphic_path

rails latest stable - Class: ActionController::PolymorphicRoutes

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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.