Created
April 7, 2015 10:46
-
-
Save linxlad/3461b050f5923fb26bf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function configureRoutes(RouteCollection $collection) | |
{ | |
$collection->add('create', 'create', array( | |
'_controller' => 'AppBundle:Backend/Resource:createAction', | |
'_sylius' => array( | |
'template' => 'AppBundle:Product/Backend/Form:CreateProduct.html.twig', | |
'redirect' => 'sylius_backend_product_show', | |
) | |
) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment