Shopify/turbograft — pull request #29 by pseudomuto (2014-11-09 03:02:38+00:00)
Title: Bugfix/28 compute redirect to location signature

@nsimmons, @qq99 for review

I realize that this is ugly, but since we're using `alias_method_chain` I didn't see another option.

Rails 4.2+ has a different signature for this method, so we need to support two versions of `_compute_redirect_to_location_with_xhr_referer`.

See for the updated version.

Fixes #28