[Rails] Another try with REST
Eduardo Yáñez Parareda
eduardo.yanez at gmail.com
Mon Aug 14 08:40:39 GMT 2006
I'm using edge rails.
My routes.rb is:
map.connect ':controller/service.wsdl', :action => 'wsdl'
# Install the default route as the lowest priority.
map.connect ':controller/:action/:id'
map.resources :team <---- THIS LINE ADDED BY ME
Also have a team_controller.rb, a team.rb model and scaffolding for it.
If I invoke /team/1;edit url it shows me the edit form for team 1,
that's right. But if I invoke /team/1 I receive the response:
Unknown action
No action responded to 1
Why it didn't show me the team 1?
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list