hi, i'm kind of confused by the syntax on that page. I want the url generation to be like "/location/3-san_diego" where the model's name is "san diego"
Won't the router just catch urls, not define them? On Nov 12, 10:54 pm, "Daniel N" <[EMAIL PROTECTED]> wrote: > Take a look at the identify method for the router. It is much more flexible > than the to_param method. > > http://wiki.merbivore.com/howto/router > > On Thu, Nov 13, 2008 at 5:52 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > > > > > Is there a way to use a to_param method like AR's to_param for cleaner > > url generation? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
