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

Use runtime configuration for admin_path #290

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

rafalcymerys
Copy link
Member

Some preferences like admin_path cannot be changed dynamically in a running application, therefore it doesn't make sense to persist them in the database.
This PR follows-up on https://github.com/spree/spree/pull/11965/files , which introduced a RuntimeConfiguration class, and moves admin_path (that's used when defining routes upon application boot) and admin_show_version (which I think doesn't really make sense to be dynamically configurable, but I'm open to discuss that).

Copy link
Contributor

@tomdonarski tomdonarski left a comment

Choose a reason for hiding this comment

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

👍

@rafalcymerys rafalcymerys merged commit cc15a46 into main Nov 27, 2023
9 checks passed
@delete-merged-branch delete-merged-branch bot deleted the feature/use_runtime_configuration_for_admin_path branch November 27, 2023 15:38
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.

2 participants