Yeah, I have that set:

Competitor:
   actAs:
     Timestampable: ~
     Sluggable:
       fields: [name]
       canUpdate: true
       unique: true
...

I unset the slug field in the CompetitorForm and changed the Competitor 
name, but it didn't update the slug.

Nicolas Perriault wrote:
> On Wed, Jul 1, 2009 at 5:44 PM, Tom
> Haskins-Vaughan<[email protected]> wrote:
> 
>> I may be missing something here, but is it not possible to automatically
>> update the slug each time you change the title?
>>
>> I could update the save() method, but I was wondering if there was a way
>> to do it with Sluggable behaviour.
> 
> There's a "canUpdate" option you can set to true in the Sluggable
> behavior configuration.
> 
> ++
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to