Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Fixed not-found error if using a mount-path for the Spree engine. #180

Open
wants to merge 4 commits into
base: 2-4-stable
Choose a base branch
from

Conversation

kaspernj
Copy link

Pages could not be found, if Spree wasn't mounted at root "/".

Fixed this by making a new scope, that removes the mounted path from the request path, and then looks for a page with that slug.

Will happily make a branch for master as well, if the way it is done here is acceptable.

@JDutil
Copy link
Member

JDutil commented Apr 6, 2015

Could you add a spec for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants