spree/spree_static_content — comment on commit efc345405ec373bd1c156d5f41906e1c98e32437
File:  line 0
By LBRapid:

Isn't that how it is now? The routes make it look like the url has to be site.org/static/my-slug.

More on the '/' issue though. I don't understand how it worked out okay. If I create a new page with a slug of "test", when I save the page the slug will be saved as "/test".

Now, if I navigate to /static/test, params[:path] = 'test'. Later we do Spree::Page.find_by_slug(params[:path]), which wouldn't find anything since the slug really is '/test'.

Anyways, that's why I made that change. Someone tell me if I'm crazy haha.