Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize PetkoparaCrudGeneratorBundle #37

Open
diegokrein opened this issue Mar 14, 2017 · 1 comment
Open

Customize PetkoparaCrudGeneratorBundle #37

diegokrein opened this issue Mar 14, 2017 · 1 comment

Comments

@diegokrein
Copy link

Hello one question. How to override the skeleton of PetkoparaCrudGeneratorBundle in Symfony 3. I write the app / Resources / SensioGeneratorBundle / skeleton structure and redefine the controller.php.twig and then when I run the php bin / console command petkopara: generate: crud does not generate the controller with The new definitions. Is this possible to do.

@petkopara
Copy link
Owner

I think your path is wrong.

From this doc http://symfony.com/doc/current/templating/overriding.html

In order to overwrite controller.php.twig you need to create - app/Resources/PetkoparaCrudGeneratorBundle/skeleton/crud/controller.php.twig
in you project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants