grassator/docpad-plugin-datefromfilename — pull request #5 by dwynne (2013-08-05 17:12:46+00:00)
Title: Fixing #4 - a documents URL property should be set via setUrl()

A documents URL property should be set via the `setUrl()` method, rather than changing the property directly.

Calling setUrl (which in turn calls addUrl) ensures that the `urls` array is updated correctly, which in turn updates the filesByUrl array, which is ultimately checked when incoming requests are made.