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

config.admin_path is not used by this gem #74

Open
flobby opened this issue May 1, 2020 · 0 comments · May be fixed by #95
Open

config.admin_path is not used by this gem #74

flobby opened this issue May 1, 2020 · 0 comments · May be fixed by #95

Comments

@flobby
Copy link

flobby commented May 1, 2020

If is set a custom admin_path admin_translations routes are still with /admin and not with the overwrite.

Spree.config do |config|
  config.admin_path = 'backend'
end

Routes for Spree::Core::Engine:
admin_translations GET    /admin/:resource/:resource_id/translations(.:format)                         spree/admin/translations#index
admin_option_type_option_value PATCH  /admin/option_values/:id(.:format)                                           spree/admin/option_values#update
admin_translate_product_property PATCH  /admin/product/:id/product_properties/:id(.:format)                          spree/admin/product_properties#translate
 admin_unauthorized GET    /backend/authorization_failure(.:format)                                      spree/admin/user_sessions#authorization_failure
admin_login GET    /backend/login(.:format)                                                      spree/admin/user_sessions#new

@wlalang003 wlalang003 linked a pull request Jan 19, 2022 that will close this issue
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 a pull request may close this issue.

1 participant