Kento Sugita

Results 5 comments of Kento Sugita

I found a code that sends a confirmation_instruction email. https://github.com/lynndylanhurley/devise_token_auth/blob/387306a180e955da077a67a6b77b1feda9497202/app/models/devise_token_auth/concerns/user.rb#L57-L66 Unfortunately, Is `send_devise_notification` method implemented in devise? So, this is not just a issue of devise_token_auth.

I tried to switch the confirmation url in the template by Class name like this. confirmation_instructions.html.slim ``` = controller.controller_name == Api::V1::RegistrationsController : api_v1_user_confirmation_url : confirmation_url ``` But it caused error....

~Temporally I resolved by using instance variable to pass the confirmation url by each RegistrationsController, I don't know why I used such easy way such easy way :) However I...

@mcelicalderon I could use the email template in specific directory by using template_path option, thanks! ``` @resource.skip_confirmation_notification! if @resource.save @resource.send_confirmation_instructions( template_path: ['devise_token_auth/mailer'] ) end ``` I had to skip confirmation...

I want to know how do some contributors think about this issue.