I have that set, too -- still the slug doesn't update on Save :

Page:
  actAs:
    Timestampable: ~
    Sluggable:
      unique: false
      fields: [name]
      canUpdate: true
    NestedSet:
      hasManyRoots: true
      rootColumnName: root_id



On Jul 1, 12:21 pm, Nicolas Perriault <[email protected]> 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.
>
> ++
>
> --
> Nicolas Perriault
> Training and Consulting Manager at Sensio 
> Labshttp://prendreuncafe.com-http://symfonians.net-http://sensiolabs.com
> Pro phone: +33 140 99 82 11
> Mobile: +33 660 92 08 67

--~--~---------~--~----~------------~-------~--~----~
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