app/controllers/devise_jwt_auth/unlocks_controller.rb
# this action is responsible for generating unlock tokens and
# sending emails
this action is responsible for generating unlock tokens and
sending emails
this action is responsible for generating unlock tokens and sending emails
def render_create_success
      render json: {
        success: true,
        message: I18n.t('devise_jwt_auth.unlocks.sended', email: @email)
      }
    end
def render_create_success render json : { success : true , message : I18n . t ( 'devise_jwt_auth.unlocks.sended' , email : @email ) } end
this action is responsible for generating unlock tokens and
sending emails
this action is responsible for generating unlock tokens and sending emails