[Rails-core] How can I make url with only id parts?

2010-03-15 Thread petr.blaho
Hi, I am trying to solve this problem: I have these resources: map.resource :account map.resources :projects so my urls to projects looks like this: /projects/:id But client has changed his mind and now he wants urls like this: /:account_id/:project_slug This project_slug (using friendly_url

Re: [Rails-core] How can I make url with only id parts?

2010-03-15 Thread Ryan Bigg
Hi Petr, the best list to ask questions like this is the rubyonrails-talk list. The core list is generally reserved for Ruby on Rails core issues. On 16 March 2010 01:51, petr.blaho wrote: > Hi, > > I am trying to solve this problem: > > I have these resources: > > map.resource :account > map.re