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

move code for loading template config to a common helper #22

Open
joachim-n opened this issue Nov 12, 2024 · 0 comments
Open

move code for loading template config to a common helper #22

joachim-n opened this issue Nov 12, 2024 · 0 comments

Comments

@joachim-n
Copy link

loadTemplateIndex() and loadTemplateView() have common code with the following logic:

  • does the plugin module provide a template for the ID of the thing we want to create?
    -- if so, load that
    -- if not, load the template from the Finders module

That should be in a common helper -- it's quite possible that we'll need this for other things.

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

No branches or pull requests

1 participant