You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I pick up the discussion from #51 to continue the conversation in a separate thread.
Quoting myself:
As a feature suggestion: We could provide a alchemy/config.yml in alchemy-devise that only includes the devise modules and we read from that in the Alchemy::User class.
That is a good idea (we had this once the user model was still in the core, remember?), but to achieve that there is more involved, because Alchemy does not support to add something to the config via an plugin.
We could add a app/config/alchemy/devise.yml, but then we need to duplicate all the configuration reading code from the core.
A solution could be to patch the core so it loads all app/config/alchemy/*.config.yml files and merges them together. So we could then have a app/config/alchemy/devise.config.yml file and use the configuration code from the core. (We can't just load all *.yml files in the app/config/alchemy folder, because the elements.yml and page_layouts.yml files also are in this folder.)
Or: Change the configuration file to app/config/alchemy.yml and then load all app/config/alchemy.*.yml files into the configuration. This would follow rails conventions, but is a bigger change for existing sites.
WDYT?
The text was updated successfully, but these errors were encountered:
I pick up the discussion from #51 to continue the conversation in a separate thread.
Quoting myself:
Quoting @tvdeyen
The text was updated successfully, but these errors were encountered: