spree/spree — pull request #2113 by jroes (2012-10-18 22:39:07+00:00)
Title: Bypass assets host for states JS

If you push to a production environment that uses `assets_host` and go through the checkout process, you'll get an error about states.js missing because Rails is trying to use the `assets_host` to build the URL.

This patch just uses the `_url` helper to bypass the `assets_host` config. It seems a little hacky, but I couldn't find another way to tell Rails not to insert the `assets_host` value.