Skip to content

Commit

Permalink
Merge pull request #33 from Fullscript/hack-core-engine-routes-rails42
Browse files Browse the repository at this point in the history
test - revert immediately if it does not work
  • Loading branch information
glongman authored Aug 2, 2017
2 parents 0fd16d2 + 2803c47 commit 747817e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/spree/core/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 747817e

Please sign in to comment.