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

Simplify service provider, rely on autoloading #135

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

ryanmitchell
Copy link
Contributor

This PR removes anything from the service provider that will now be autoloader, simplifying the codebase.

It also moves anything in boot() into bootAddon() inline with best practices. This will fix #134 as the translation now wont be loaded until after Statamic has booted translations.

Closes #134

@edalzell edalzell merged commit 68c969a into main Oct 9, 2024
17 checks passed
@edalzell edalzell deleted the feature/simplify-service-provider branch October 9, 2024 16:53
@danielreales7
Copy link
Contributor

Thank you so much! It's works now :)

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

Successfully merging this pull request may close these issues.

CP translation file is not working properly
3 participants