Reputation: 91
I want to ask how to make 2 admin modules for the same model
I have a model called client. and I made an admin module for it with the name of client
now when I try to make another module with another name like client_2. I doesn't make it.
So, please help me guys, is this issue?
Upvotes: 1
Views: 430
Reputation: 11
i had the same problem and found a solution,
go to the routing.yml and copy and paste the route of the first module for the model
Change the name of the route and the prefix path to client_2
Do "php symfony doctrine:generate-admin backend Client --module=client_2" and everything is fine i guess :P
Upvotes: 1
Reputation: 1017
You can specify the name of the module :
php symfony doctrine:generate-admin backend Client --module=client_2
Upvotes: 0