This is what I think of REST architecture.
For every resource, there is an unique URI.
We can manipulate that object using its URI and HTTP actions [POST, GE
As you might notice there are 4 HTTP actions but the basic CRUD operations in a typical web app require 7 different actions. Some of these don't actually do anything (like /new and :id/edit) and thus are sort of parallel to REST architecture. Also the index action does not act on the resource but rather on a collection of resource (thus also a unique url).
So the basic 4 HTTP actions map to a resource like this:
get /teams/:idput /teams/:iddelete /teams/:id/teamsSo to summarize: each resource has its own unique url, plus rails defines a few additional urls for UI and collection purposes.