PHP Class WellCommerce\Bundle\RoutingBundle\Controller\Admin\RoutingController

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\CoreBundle\Controller\Admin\AbstractAdminController
Mostrar archivo Open project: wellcommerce/wellcommerce

Public Methods

Method Description
generateAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse | RedirectResponse Generates slug using ajax request

Private Methods

Method Description
getSlugGenerator ( ) : WellCommerce\Bundle\RoutingBundle\Generator\SlugGeneratorInterface

Method Details

generateAction() public method

Generates slug using ajax request
public generateAction ( Request $request ) : Symfony\Component\HttpFoundation\JsonResponse | RedirectResponse
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\JsonResponse | Symfony\Component\HttpFoundation\RedirectResponse