Flowdock
method

partial_path

Importance_1
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: PartialRenderer
partial_path(object = @object) private

Obtains the path to where the object’s partial is located. If the object responds to to_partial_path, then to_partial_path will be called and will provide the path. If the object does not respond to to_partial_path, then an ArgumentError is raised.

If prefix_partial_path_with_controller_namespace is true, then this method will prefix the partial paths with a namespace.

Show source
Register or log in to add new notes.