Hi Guys, I have the following route to show the articles for a selected service in my application.
http://localhost:3000/services/4/articles I want to be able to have a route to the service name rather than the route such as the following. http://localhost:3000/services/clothes/articles I thought something like the following in the routes.rb file would be the way forward? map.connect 'clothes/', :controller => 'articles', :action => "index", :service_id => '4' Many thanks in advance Dave -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---