Added basic group management, with many missing features.

This commit is contained in:
Polonkai Gergely
2012-07-16 14:16:10 +02:00
parent 038ad5d018
commit 973b331825
15 changed files with 1135 additions and 1 deletions

View File

@@ -91,8 +91,10 @@ class DefaultController extends Controller
$message = \Swift_Message::newInstance()
->setSubject('Új jelentkező')
// TODO: Make this a config parameter!
->setFrom('info@blueroses.hu')
->setTo('info@blueroses.hu')
// TODO: Make this a config parameter!
->setTo('jelentkezes@blueroses.hu')
->setBody($this->renderView('KekRozsakSecurityBundle:Email:new_registration.txt.twig', array('user' => $user)));
$this->get('mailer')->send($message);