Adding a monkeypatch to spree to always allow SSL

This commit is contained in:
Will Marshall
2013-12-04 14:08:08 +11:00
parent ff003d8931
commit 987ba1a81a

View File

@@ -37,3 +37,14 @@ module Spree
end
end
end
# Forcing spree to always allow SSL connections
# Since we are using config.force_ssl = true
# Without this we get a redirect loop: see https://groups.google.com/forum/#!topic/spree-user/NwpqGxJ4klk
SslRequirement.module_eval do
protected
def ssl_allowed?
true
end
end