Reputation: 4877
I am using sulu minimal edition.
So i want to create bundle for my custom controllers. I have contact form in my website. On form submit i want redirect to symfony route. Save data in custom table and display in admin area user role wise. Whats best way?
I follow http://blog.sulu.io/how-to-develop-a-bundle-in-the-sulu-admin-1 but php on ./bin/websiteconsole debug:router my new routes created in controller not showing.
Upvotes: 1
Views: 1284
Reputation: 284
Sounds like you use annotations. Dit you try defining your route with XML?
As far as I know annotation - and XML defined routes can't be mixed within the same bundle (some please correct me if I'm wrong). Since Sulu uses XML I'd stick to that for the sake of consistency.
Upvotes: 0