Permalink
Browse files

Installed Admin bundle

  • Loading branch information...
1 parent 2040756 commit 28945a0243f1eef8e7c71c4da44c29860cfe1738 @xdissent committed Aug 31, 2011
Showing with 16 additions and 0 deletions.
  1. +4 −0 app/AppKernel.php
  2. +2 −0 app/autoload.php
  3. +10 −0 app/config/routing.yml
View
@@ -17,6 +17,10 @@ public function registerBundles()
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new JMS\SecurityExtraBundle\JMSSecurityExtraBundle(),
+ new Sonata\jQueryBundle\SonatajQueryBundle(),
+ new Sonata\BluePrintBundle\SonataBluePrintBundle(),
+ new Sonata\AdminBundle\SonataAdminBundle(),
+ new Knp\Bundle\MenuBundle\KnpMenuBundle(),
);
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
View
@@ -14,6 +14,8 @@
'Monolog' => __DIR__.'/../vendor/monolog/src',
'Assetic' => __DIR__.'/../vendor/assetic/src',
'Metadata' => __DIR__.'/../vendor/metadata/src',
+ 'Sonata' => __DIR__.'/../vendor/bundles',
+ 'Knp' => __DIR__.'/../vendor/bundles',
));
$loader->registerPrefixes(array(
'Twig_Extensions_' => __DIR__.'/../vendor/twig-extensions/lib',
View
@@ -2,3 +2,13 @@
#_internal:
# resource: "@FrameworkBundle/Resources/config/routing/internal.xml"
# prefix: /_internal
+
+
+admin:
+ resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'
+ prefix: /admin
+
+_sonata_admin:
+ resource: .
+ type: sonata_admin
+ prefix: /admin

0 comments on commit 28945a0

Please sign in to comment.