I’ve set up my application to use edge rails in order to get REST
functionality.
I’ve a controller called team (team_controller.rb) with some actions
(index, list,
show, create, new…). Moreover in routes.rb I’ve added
map.resources :team
so I guess I could call
localhost:3000/xxxx/team/1
or
localhost:3000/xxxx/team/1;edit
Well, when I do the first call, server response me ‘Unknown action No
action responded to 1’, surprisingly the second call shows the edit form
for the team 1.
Isn’t it the first call supposed to invoke ‘show’ action and shows me
the team 1?