Pārlūkot izejas kodu

[FrameworkBundle] removed the Welcome page and moved it to the sandbox/standard distrib

Fabien Potencier 14 gadi atpakaļ
vecāks
revīzija
9a25878109

+ 0 - 33
src/Symfony/Bundle/FrameworkBundle/Controller/DefaultController.php

@@ -1,33 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Bundle\FrameworkBundle\Controller;
-
-use Symfony\Component\HttpFoundation\Response;
-use Symfony\Component\DependencyInjection\ContainerAware;
-
-/**
- * DefaultController.
- *
- * @author Fabien Potencier <fabien.potencier@symfony-project.com>
- */
-class DefaultController extends ContainerAware
-{
-    /**
-     * Renders the Symfony2 welcome page.
-     *
-     * @return Response A Response instance
-     */
-    public function indexAction()
-    {
-        return $this->container->get('templating')->renderResponse('FrameworkBundle:Default:index.html.twig');
-    }
-}

+ 0 - 11
src/Symfony/Bundle/FrameworkBundle/Resources/views/Default/index.html.twig

@@ -1,11 +0,0 @@
-<!DOCTYPE html>
-<html>
-    <head>
-        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-        <title>Congratulations</title>
-    </head>
-    <body>
-        <h1>Congratulations!</h1>
-        <p>You have successfully created a new Symfony2 application.</p>
-    </body>
-</html>