Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Added ability to prepend to outputted HTML source paths #532

Merged
merged 1 commit into from Jan 27, 2014

Conversation

Projects
None yet
2 participants
Contributor

troyastorino commented Jan 26, 2014

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?

@mde mde merged commit 3976727 into geddy:master Jan 27, 2014

1 check failed

default The Travis CI build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment