Generate correct path to resources when using the Mount plugin

When using the Mount plugin we cannot just set the path to /auto_compressed because the application will be under a prefix. This patch uses the Controller url_for method to get the correct root.