Variável não existe no symfony2

Eu tenho o seguinte problema no meu projeto symfony2:

Este é o código do meu controlador

public function showCustomerAction($id) {
    // retrieve the customer from the database
    $em = $this->getDoctrine()->getManager();
    $customer = $em->getRepository('VictorIoSiteBundle:Customer')->find($id);

    //throw new \Exception($customer);
    return $this->render('VictorIoSiteBundle:Site:viewCustomer.html.twig', array('customer' => $customer));
}

E o código da minha visão galho (bastante simples):

{% if customer is defined %}
    <h3>Customer: {{ customer }} </h3>
{% endif %}

Finalmente meu routing.yml

victor_io_site_show_customer:
pattern: /show-customer/{id}
defaults: { _controller: VictorIoSiteBundle:Site:showCustomer }
requirements:
    id: \d+

Agora quando eu vou

http://localhost/Garage/web/app_dev.php/show-customer/46

Estou tendo o erro a seguir :

Variable " customer " does not exist in VictorIoSiteBundle:Site:viewCustomer.html.twig at line 2
500 Internal Server Error - Twig_Error_Runtime

questionAnswers(1)

yourAnswerToTheQuestion