Thanks - Works great. Hmmm how do I override the show link? I can only override a table column name title etc with the permalink. show_column in the helper get's ignored :/ Do I need to disable the show link and create a new custom show link? Could you post a example?
On Jun 30, 10:11 pm, [email protected] wrote: > You can just override the method you need to in the controller. If you alias > a name to go to the show action just override the show action. > Sent from my Verizon Wireless BlackBerry > > -----Original Message----- > From: atmorell <[email protected]> > > Date: Tue, 30 Jun 2009 07:25:08 > To: ActiveScaffold : Ruby on Rails plugin<[email protected]> > Subject: Pretty urls when showing a record. > > Hello, > > How do I override the find method for a single AS controlelr action? I > would like to use find_by_permalink on my show method. > > Trying to add pretty urls to my blog like so: > title: this is my first log -> blogs/this-is-my-first-blog > > So I thougt about using permalink_fu - it will generate a pretty alias/ > url and store it in a column in the database. > > Hope I am on the right track. > Best regards. > Asbjørn Morell. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
