Permalink
Browse files

proper naming for Admin classes

  • Loading branch information...
1 parent 305b2c6 commit 476631a8a30b2aa73e12b86dad8743e01a26c347 Reto Ryter committed Mar 15, 2013
@@ -12,7 +12,7 @@
use Sonata\AdminBundle\Datagrid\ListMapper;
use Sonata\DoctrinePHPCRAdminBundle\Admin\Admin;
-class MinimalSlideshowAdmin extends Admin
+class MinimalSlideshowBlockAdmin extends Admin
{
protected $baseRouteName = 'symfony_cmf_block.imagine.minimal_slideshow_admin';
@@ -4,7 +4,7 @@
use Sonata\AdminBundle\Form\FormMapper;
-class SlideshowAdmin extends MinimalSlideshowAdmin
+class SlideshowBlockAdmin extends MinimalSlideshowBlockAdmin
{
protected $baseRouteName = 'symfony_cmf_block.imagine.slideshow_admin';
protected $baseRoutePattern = 'symfony_cmf/block/imagineSlideshow';
@@ -5,8 +5,8 @@
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
- <parameter key="symfony_cmf_block.imagine.slideshow_admin_class">Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\SlideshowAdmin</parameter>
- <parameter key="symfony_cmf_block.imagine.minimal_slideshow_admin_class">Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\MinimalSlideshowAdmin</parameter>
+ <parameter key="symfony_cmf_block.imagine.slideshow_admin_class">Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\SlideshowBlockAdmin</parameter>
+ <parameter key="symfony_cmf_block.imagine.minimal_slideshow_admin_class">Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\MinimalSlideshowBlockAdmin</parameter>
<parameter key="symfony_cmf_block.slideshow_document_class">Symfony\Cmf\Bundle\BlockBundle\Document\SlideshowBlock</parameter>
<parameter key="symfony_cmf_block.imagine.minimal_imagine_admin_class">Symfony\Cmf\Bundle\BlockBundle\Admin\Imagine\MinimalImagineBlockAdmin</parameter>

0 comments on commit 476631a

Please sign in to comment.