graphql-devise / graphql_devise

GraphQL interface on top devise_token_auth
MIT License
200 stars 39 forks source link

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

Open celsoMartins opened 9 months ago

celsoMartins commented 9 months ago

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 commented 9 months ago

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