Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 829 Bytes

INSTALL.md

File metadata and controls

39 lines (29 loc) · 829 Bytes

EdgarEzUIContentsByTypeBundle

Installation

Get the bundle using composer

Add EdgarEzUIContentsByTypeBundle by running this command from the terminal at the root of your symfony project:

composer require edgar/ez-uicontentsbytype-bundle

Enable the bundle

To start using the bundle, register the bundle in your application's kernel class:

// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Edgar\EzUIContentsByTypeBundle\EdgarEzUIContentsByTypeBundle(),
        // ...
    );
}

Add routing

Add to your global configuration app/config/routing.yml

edgar.ezuicontentsbytype:
    resource: '@EdgarEzUIContentsByTypeBundle/Resources/config/routing.yml'
    defaults:
        siteaccess_group_whitelist: 'admin_group'