handling changes in Rails 4.2
changing signature based on Rails version
Merge pull request #29 from Shopify/bugfix/28_compute_redirect_to_location_signature

Bugfix/28 compute redirect to location signature