From 2803c4714a722c5b6ca153ada2428d70fdbe97fa Mon Sep 17 00:00:00 2001 From: Geoff Longman Date: Wed, 2 Aug 2017 11:05:32 -0400 Subject: [PATCH] test - revert immediately if it does not work --- core/lib/spree/core/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/lib/spree/core/routes.rb b/core/lib/spree/core/routes.rb index a1f568090bb..1783527132b 100644 --- a/core/lib/spree/core/routes.rb +++ b/core/lib/spree/core/routes.rb @@ -39,7 +39,8 @@ def self.draw_routes(&block) end def eval_block(&block) - Spree::Core::Engine.routes.eval_block(block) + # HACK + Spree::Core::Engine.routes.send :eval_block, block end end end