Make resources_url receive relative uris.