graphql_devise icon indicating copy to clipboard operation
graphql_devise copied to clipboard

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

Open celsoMartins opened this issue 1 year ago • 1 comments

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.

celsoMartins avatar Dec 11 '23 13:12 celsoMartins

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

mcelicalderon avatar Dec 12 '23 16:12 mcelicalderon