Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for Solidus 2.5 #30

Merged
merged 5 commits into from
Sep 10, 2018
Merged

Fixes for Solidus 2.5 #30

merged 5 commits into from
Sep 10, 2018

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Sep 10, 2018

Fixes some issues with Solidus 2.5

Mainly the bug with stores not having solidus_frontend installed get a routing error in solidus_backend because the spree routing proxy does not have the root_url method defined.

Then we use the backend configuration to add the menu tab into solidus admin, since Solidus does not require Deface per default and we do not want to either.

Also adds a admin user generator, because the default Alchemy admin signup does not work with Solidus, as it brings its own admin users controller that loads before alchemy-devises admin users controller, if mounted before Alchemy (what it usually does).

Instead of using deface we use the Solidus backend configuration to add a menu tab
If a store does not use solidus_frontend it does not have a root route, but Solidus > 2.5 expects to have one. This generator is generally a nice feature and fixes a bug in the dummy app, that does not have solidus_frontend installed
Copy link

@askl56 askl56 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Will add more tests this weekend.

Copy link
Contributor

@mamhoff mamhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, thank you!

@tvdeyen tvdeyen merged commit 403ac28 into AlchemyCMS:master Sep 10, 2018
@tvdeyen tvdeyen deleted the solidus-2.5 branch September 10, 2018 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants