spree/spree_static_content — pull request #35 by joeyjoejoejr (2012-02-23 07:38:13+00:00)
Title: I fixed the spree 1.0.x routing problem without Rack Middleware

I don't know if this is the most elegant solution, and I am willing to change anything that could be done better.

I just used constraints to load routes conditionally. I needed two to make it work properly. One for the root route and one for all other routes.