app/models/devise_token/concerns/user.rb
def send_confirmation_instructions(opts=nil)
      unless @raw_confirmation_token
        generate_confirmation_token!
      end

      opts ||= {}

      if pending_reconfirmation?
        opts[:to] = unconfirmed_email
      end
      opts[:redirect_url] ||= DeviseToken.default_confirm_success_url

      send_devise_notification(:confirmation_instructions, @raw_confirmation_token, opts)
    end
# override devise method to include additional info as opts hash
override devise method to include additional info as opts hash
override devise method to include additional info as opts hash
def send_confirmation_instructions(opts=nil)
      unless @raw_confirmation_token
        generate_confirmation_token!
      end
      opts ||= {}
      if pending_reconfirmation?
        opts[:to] = unconfirmed_email
      end
      opts[:redirect_url] ||= DeviseToken.default_confirm_success_url
      send_devise_notification(:confirmation_instructions, @raw_confirmation_token, opts)
    end
def send_confirmation_instructions ( opts = nil ) unless @raw_confirmation_token generate_confirmation_token! end opts ||= { } if pending_reconfirmation? opts [ :to ] = unconfirmed_email end opts [ :redirect_url ] ||= DeviseToken . default_confirm_success_url send_devise_notification ( :confirmation_instructions , @raw_confirmation_token , opts ) end
override devise method to include additional info as opts hash
override devise method to include additional info as opts hash
opts