I'm looking at two versions static_resource:init/1 in two Webmachine applications:
https://github.com/basho/wriaki/blob/master/apps/wriaki/src/session_resource.erl
http://lambder.com/2009/06/providing-static-content-in-webmachine/
In both cases the parameter passed into static_resource:init/1 is DocRoot. But I can't find where this function is set or DocRoot is defined.
Can anyone point me toward an answer?
Many thanks,
LRP