aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2017-12-01 11:06:29 +0100
committermarcinzelent <zelent.marcin@gmail.com>2017-12-01 11:06:29 +0100
commit7d09b3a6201a175128421d117d4c63495813fa05 (patch)
treee014a83d47801ea13ce5ee9259082dde0fe43ce0 /src/AppBundle/Controller/HomeController.php
parent491eb42cd125b76f96d4f906c3822202d55395a1 (diff)
Refactored sending of e-mails and made it work.
Diffstat (limited to 'src/AppBundle/Controller/HomeController.php')
-rw-r--r--src/AppBundle/Controller/HomeController.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/AppBundle/Controller/HomeController.php b/src/AppBundle/Controller/HomeController.php
index d8234cf..606d666 100644
--- a/src/AppBundle/Controller/HomeController.php
+++ b/src/AppBundle/Controller/HomeController.php
@@ -9,13 +9,9 @@
namespace AppBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
-use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use AppBundle\Utils\Aqi;
-
-
-
class HomeController extends Controller
{
/**
@@ -60,7 +56,6 @@ class HomeController extends Controller
$max = max($arr);
$data['Aqi'] = $max;
-
return $this->render('default/index.html.twig', $data);
}