spree/spree — pull request #2665 by josv (2013-03-06 21:34:53+00:00)
Title: Fix issue with https connections when making api requests

If ssl_allowed is not set, ensure_proper_protocol will try to redirect to http, but
there is no redirect_to method defined for the api controllers