Skip to content

Commit

Permalink
[ConfigBundle] Remove route service annotation as default route is al…
Browse files Browse the repository at this point in the history
…ready provided as service (#2188)
  • Loading branch information
acrobat committed Dec 7, 2018
1 parent 7b1630c commit 7bb08aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions src/Kunstmaan/ConfigBundle/Controller/ConfigController.php
Expand Up @@ -4,7 +4,6 @@

use Doctrine\ORM\EntityManagerInterface;
use Kunstmaan\ConfigBundle\Entity\AbstractConfig;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Form\FormFactoryInterface;
Expand All @@ -17,8 +16,6 @@

/**
* Class ConfigController
*
* @Route(service="kunstmaan_config.controller.config")
*/
class ConfigController
{
Expand Down
1 change: 1 addition & 0 deletions src/Kunstmaan/ConfigBundle/Resources/config/services.yml
Expand Up @@ -26,3 +26,4 @@ services:
- "@doctrine.orm.entity_manager"
- "%kunstmaan_config%"
- "@form.factory"
public: true

0 comments on commit 7bb08aa

Please sign in to comment.