From 8a67529d0358af8b1c72f53c2ca6441c75be836d Mon Sep 17 00:00:00 2001
From: marcinzelent <zelent.marcin@gmail.com>
Date: Thu, 30 Nov 2017 11:30:10 +0100
Subject: Added sending e-mails test.

---
 app/Resources/views/emails/registration.php |  6 ++++++
 app/config/config.yml                       |  2 +-
 app/config/parameters.yml.dist              | 19 -------------------
 3 files changed, 7 insertions(+), 20 deletions(-)
 create mode 100644 app/Resources/views/emails/registration.php
 delete mode 100644 app/config/parameters.yml.dist

(limited to 'app')

diff --git a/app/Resources/views/emails/registration.php b/app/Resources/views/emails/registration.php
new file mode 100644
index 0000000..c2ac995
--- /dev/null
+++ b/app/Resources/views/emails/registration.php
@@ -0,0 +1,6 @@
+{# app/Resources/views/Emails/registration.html.twig #}
+<h3>You did it! You registered!</h3>
+
+Hi {{ name }}! You're successfully registered.
+
+Thanks!
\ No newline at end of file
diff --git a/app/config/config.yml b/app/config/config.yml
index 1a5c147..4819c20 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -51,7 +51,7 @@ doctrine:
         # if using pdo_sqlite as your database driver:
         #   1. add the path in parameters.yml
         #     e.g. database_path: '%kernel.project_dir%/var/data/data.sqlite'
-        #   2. Uncomment database_path in parameters.yml.dist
+        #   2. Uncomment database_path in parameters.yml
         #   3. Uncomment next line:
         #path: '%database_path%'
 
diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist
deleted file mode 100644
index 2c20ddc..0000000
--- a/app/config/parameters.yml.dist
+++ /dev/null
@@ -1,19 +0,0 @@
-# This file is a "template" of what your parameters.yml file should look like
-# Set parameters here that may be different on each deployment target of the app, e.g. development, staging, production.
-# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
-parameters:
-    database_host: 127.0.0.1
-    database_port: ~
-    database_name: symfony
-    database_user: root
-    database_password: ~
-    # You should uncomment this if you want to use pdo_sqlite
-    #database_path: '%kernel.project_dir%/var/data/data.sqlite'
-
-    mailer_transport: smtp
-    mailer_host: 127.0.0.1
-    mailer_user: ~
-    mailer_password: ~
-
-    # A secret key that's used to generate certain security-related tokens
-    secret: ThisTokenIsNotSoSecretChangeIt
-- 
cgit v1.2.3