...
public function registerBundles()
{
$bundles = array(
...
new MandarinMedien\MMCmfNodeBundle\MMCmfNodeBundle(),
new MandarinMedien\MMCmfRoutingBundle\MMCmfRoutingBundle(),
new MandarinMedien\MMCmfContentBundle\MMCmfContentBundle(),
new MandarinMedien\MMCmfAdminBundle\MMCmfAdminBundle(),
...
);
....
}
...
...
imports:
- ...
- { resource: '@MMCmfAdminBundle/Resources/config/config.yml' }
- { resource: '@MMCmfContentBundle/Resources/config/config.yml' }
- ...
...
...
mm_cmf_admin:
resource: "@MMCmfAdminBundle/Resources/config/routing.yml"
mm_cmf_content:
resource: "@MMCmfContentBundle/Resources/config/routing.yml"
prefix: /mmcmfcontent
... other routings ...
# put this at the very last
mm_cmf_routing:
resource: "@MMCmfRoutingBundle/Resources/config/routing.yml"
...
...
# initates the MMCmfContentBundle
shell:PROJECT_ROOT: cd vendor/mandarinmedien/mmcmfcontentbundle/MandarinMedien/MMCmfContentBundle && bower update && cd ../../../../../ && app/console as:in --symlink && app/console assetic:dump
# initates the MMCmfAdminBundle
shell:PROJECT_ROOT: cd vendor/mandarinmedien/mmcmfadminbundle/MandarinMedien/MMCmfAdminBundle && bower update && cd ../../../../../ && app/console as:in --symlink && app/console assetic:dump
shell:PROJECT_ROOT: app/console as:wa
...