koala-framework/kwc-menu-api

There is no license information available for the latest version (1.0.x-dev) of this package.

1.0.x-dev 2018-04-05 10:25 UTC

This package is auto-updated.

Last update: 2020-10-22 14:35:18 UTC


README

Repository for implementing controller to provide menu- and component-data over api-controller

Installation

Basic code changes

  • Add AppBundle to AppKernel.php

      public function registerBundles()
      {
          $bundles = array(
              ...
              new Kwc\MenuApiBundle\KwcMenuApiBundle()
          );
          ...
      }
    
  • Add routing config to routing.yml

      kwcmenuapi:
          resource: "@KwcMenuApiBundle/Resources/config/routing.yml"
          prefix:   /