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

Is there a way to use the default devise template views? #269

Open
celsoMartins opened this issue Dec 11, 2023 · 1 comment
Open

Is there a way to use the default devise template views? #269

celsoMartins opened this issue Dec 11, 2023 · 1 comment

Comments

@celsoMartins
Copy link
Contributor

Hi there.

Can I change any setup to use the same templates in devise, that I've already customized? I know that I can avoid duplication with partials but I wouldn't like to have two "reset_password_instructions.html.erb" in my project, for example.

Thanks.

@mcelicalderon
Copy link
Member

Hey @celsoMartins! In this gem we intentionally separated email templates so they wouldn't conflict with those in Devise or DTA. But I'll look into this and see if there's a good way for users to use the same templates. The urls will need to be different in each case of course, but I think that is something that is passed to the view anyway

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

2 participants