I am working with Symfony2 project and there are routings likepattern: /specialoffers/{id}/{name}
.
In my web it shows like /specialoffers/15/offername
. But i want to see only /specialoffers/offername
. I need in controller the id of specialoffers to find it in my DB. How can i remake my router or controller action to show nice URLs?