Skip to content

Commit ed7a4b5

Browse files
committed
Merge pull request #28 from symfony-cmf/drop_symfony_cmf_prefix
[WIP] Removed symfony_cmf prefix
2 parents 736f4f0 + c778918 commit ed7a4b5

File tree

8 files changed

+205
-195
lines changed

8 files changed

+205
-195
lines changed

app/AppKernel.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ public function registerBundles()
2323
new JMS\SerializerBundle\JMSSerializerBundle($this),
2424

2525
// enable cmf bundles
26-
new Symfony\Cmf\Bundle\RoutingBundle\SymfonyCmfRoutingBundle(),
27-
new Symfony\Cmf\Bundle\CoreBundle\SymfonyCmfCoreBundle(),
28-
new Symfony\Cmf\Bundle\MenuBundle\SymfonyCmfMenuBundle(),
29-
new Symfony\Cmf\Bundle\ContentBundle\SymfonyCmfContentBundle(),
30-
new Symfony\Cmf\Bundle\SimpleCmsBundle\SymfonyCmfSimpleCmsBundle(),
31-
new Symfony\Cmf\Bundle\CreateBundle\SymfonyCmfCreateBundle(),
26+
new Symfony\Cmf\Bundle\RoutingBundle\CmfRoutingBundle(),
27+
new Symfony\Cmf\Bundle\CoreBundle\CmfCoreBundle(),
28+
new Symfony\Cmf\Bundle\MenuBundle\CmfMenuBundle(),
29+
new Symfony\Cmf\Bundle\ContentBundle\CmfContentBundle(),
30+
new Symfony\Cmf\Bundle\SimpleCmsBundle\CmfSimpleCmsBundle(),
31+
new Symfony\Cmf\Bundle\CreateBundle\CmfCreateBundle(),
3232

3333
// and the sandbox bundle
3434
new Acme\MainBundle\AcmeMainBundle(),

app/config/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ twig:
2020
assetic:
2121
debug: %kernel.debug%
2222
use_controller: false
23-
#bundles: [SymfonyCmfSimpleCmsBundle, SymfonyCmfCreateBundle]
23+
#bundles: [CmfSimpleCmsBundle, CmfCreateBundle]
2424
#java: /usr/bin/java
2525
filters:
2626
cssrewrite: ~
@@ -69,28 +69,28 @@ liip_doctrine_cache:
6969
nodes:
7070
type: file_system
7171

72-
symfony_cmf_routing:
72+
cmf_routing:
7373
dynamic:
7474
enabled: true
7575

76-
symfony_cmf_simple_cms:
76+
cmf_simple_cms:
7777
routing:
7878
templates_by_class:
79-
Symfony\Cmf\Bundle\SimpleCmsBundle\Document\Page: SymfonyCmfSimpleCmsBundle:Page:index.html.twig
79+
Symfony\Cmf\Bundle\SimpleCmsBundle\Document\Page: CmfSimpleCmsBundle:Page:index.html.twig
8080
controllers_by_class:
81-
Symfony\Cmf\Bundle\RoutingBundle\Document\RedirectRoute: symfony_cmf_routing.redirect_controller:redirectAction
81+
Symfony\Cmf\Bundle\RoutingBundle\Document\RedirectRoute: cmf_routing.redirect_controller:redirectAction
8282
multilang:
8383
locales: %locales%
8484
use_sonata_admin: false
8585

8686
knp_menu:
8787
twig: true
8888

89-
symfony_cmf_menu:
89+
cmf_menu:
9090
use_sonata_admin: false
9191
menu_basepath: /cms
9292

93-
symfony_cmf_create:
93+
cmf_create:
9494
phpcr_odm: true
9595

9696
lunetics_locale:

app/config/routing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static:
1818
_locale: en|de
1919

2020
cmf_create_rest:
21-
resource: "@SymfonyCmfCreateBundle/Resources/config/routing/rest.xml"
21+
resource: "@CmfCreateBundle/Resources/config/routing/rest.xml"
2222

2323
cmf_create_image:
24-
resource: "@SymfonyCmfCreateBundle/Resources/config/routing/image.xml"
24+
resource: "@CmfCreateBundle/Resources/config/routing/image.xml"

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"symfony/monolog-bundle": "2.2.*",
1313
"symfony/assetic-bundle": "2.1.*",
1414
"sensio/distribution-bundle": "2.2.*",
15-
"symfony-cmf/symfony-cmf": "1.0.0-alpha1",
16-
"symfony-cmf/simple-cms-bundle": "1.0.0-alpha2",
17-
"symfony-cmf/create-bundle": "1.0.0-alpha1",
15+
"symfony-cmf/symfony-cmf": "1.0.0-alpha2",
16+
"symfony-cmf/simple-cms-bundle": "1.0.0-alpha3",
17+
"symfony-cmf/create-bundle": "1.0.0-alpha2",
1818
"jackalope/jackalope-doctrine-dbal":"1.0.0-alpha1",
1919
"doctrine/doctrine-bundle": "1.2.*",
2020
"doctrine/doctrine-fixtures-bundle": "dev-master",

0 commit comments

Comments
 (0)