You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: add_request_mailer.rb
    path of file: ./repos/hitobito/app/mailers/person
    
    the code of the file until where you have to start completion: # encoding: utf-8

#  Copyright (c) 2012-2015 Pfadibewegung Schweiz. This file is part of
#  hitobi
    
  def link_to_add_requests
    params = body_params
    params[:person_id] = add_request.person_id
    params[:group_id] = add_request.person_layer.id
    url = group_person_add_requests_url(params)
    link_to(t('.request_link'), url)
  end