mde/geddy — pull request #532 by troyastorino (2014-01-26 07:43:32+00:00)
Title: Added ability to prepend to outputted HTML source paths

In my team's use of Geddy we ran into an issue where wanted to be able to version our static files with each release. We want to prepend a version directory to every outputted source path generated by view helpers. I thought that modifying the `staticFilePath` would be the right way to go about this, but it seems like that refers to the directory on the server where static files are stored rather than to the path the client sees. So, I created a new config variable `staticSourceDir`, and modified the view helpers that output a source path to look at that variable's value. How does it look?