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