O'Reilly logo
  • Samanthi Jinadasa thinks this is interesting:

You can define single routes by specifying the route and the action to be matched:

From

Cover of RESTful Rails Development

Note

/products/:id/ => 'products#show'