[symfony-users] Re: Routing by slug.. getSlug missing?

2007-05-23 Thread Davinder Mahal
Hi, Thank you very much for the response. I've created a slug and indexed it. Everything is working now. Cheers, Davinder On May 23, 2007, at 12:55 PM, Fabian Lange wrote: > Hello, > > you are right. The book doesn't say something about this. You could > assume that this works out of the b

[symfony-users] Re: Routing by slug.. getSlug missing?

2007-05-23 Thread Fabian Lange
Hello, you are right. The book doesn't say something about this. You could assume that this works out of the box, but you have to do what you did. The proposed way is to add a db column called slug, get the getter and setter generated and set it to some url friendly value. Here a snipped of my ap

[symfony-users] Re: Routing by slug.. getSlug missing?

2007-05-23 Thread Davinder Mahal
Hello. I think I got it. I wasn't thinking clearly. I have to create all the functions myself and Slug would get getTitleSlug() where I would have to add and replace '_' in the url, correct? Doing so, and adding my own functions I was able to get it to work. It'll be great just to get confir