Update core/lib/spree/core/controller_helpers.rb