Use tmp url to the rails template