diff --git a/app/Resources/views/default/test-email.html.twig b/app/Resources/views/default/test-email.html.twig
index f9bea09e..0da7411a 100644
--- a/app/Resources/views/default/test-email.html.twig
+++ b/app/Resources/views/default/test-email.html.twig
@@ -1,7 +1,15 @@
{% extends 'base.html.twig' %}
{% block bigMain %}
-
tadam test de mail {{ name }}
- le contenu
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus doloremque exercitationem provident quae quod soluta sunt velit. Architecto, assumenda deserunt expedita laudantium nemo voluptatem. Atque commodi est iste itaque mollitia. Consequatur cumque cupiditate eveniet facilis illo illum impedit itaque omnis placeat quaerat, quia quidem ratione saepe similique sunt veniam veritatis.
+
+
tadam test de mail
+
+
+
+ le contenu Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus doloremque exercitationem
+ provident quae quod soluta sunt velit. Architecto, assumenda deserunt expedita laudantium nemo voluptatem.
+ Atque commodi est iste itaque mollitia. Consequatur cumque cupiditate eveniet facilis illo illum impedit
+ itaque omnis placeat quaerat, quia quidem ratione saepe similique sunt veniam veritatis.
+
+
{% endblock %}
diff --git a/app/config/routing.yml b/app/config/routing.yml
index ff574633..c10226f5 100755
--- a/app/config/routing.yml
+++ b/app/config/routing.yml
@@ -52,5 +52,5 @@ fos_user:
resource: "@FOSUserBundle/Resources/config/routing/all.xml"
# emails
tktest_mail:
- path: /test-email
+ path: /admin/test-email
defaults: { _controller: AppBundle:Default:email }
diff --git a/src/AppBundle/Controller/DefaultController.php b/src/AppBundle/Controller/DefaultController.php
index 6de036dd..40b16c18 100755
--- a/src/AppBundle/Controller/DefaultController.php
+++ b/src/AppBundle/Controller/DefaultController.php
@@ -83,9 +83,7 @@ class DefaultController extends Controller {
->setSubject( 'Hello Email' )
->setFrom( 'test-symfony-tykayn@caisse.ciperbliss.com' )
->setTo( 'tykayn@gmail.com' )
- ->setBody( $this->renderView( 'default/test-email.html.twig',
-
- [ 'name' => $name ] ),
+ ->setBody( $this->renderView( 'default/test-email.html.twig' ),
'text/html' );
$this->get( 'mailer' )->send( $message );