Displaying 1 result from an estimated 1 matches for "supply_us".
Did you mean:
supply's
2008 Feb 25
3
customize resource routes
...have this url :
/games/xbox360/halo-3 ( map.connect "/
games/:platform_id/:permalink",:controller => "games",:action =>
"show" )
This is no problem with map.connect, but with map.resources i can not
make this.
map.resources :games do |game|
game.resources :supply_used
end
The command makes the following url :
/games/halo-3
/games/halo-3/supply_used/...
How can i still use map.resources and have :platform_id in my url? Or
do i need to make custom map.connects for each url?
Thanks,
Tom
--~--~---------~--~----~------------~-------~--~----~
You received this...